Updated translated_file and moved helper function to the toolbox
removed some whitespaces