Sometimes this function is creating an empty 'en-{project name}-glosses.txt' file and not cleaning it up properly.