fix a bug in  fileTranslated() method not returning correct value + coding nits