remove redundent arguments from translator constructor
Fix error messages (add file name)