added TextFileTranslator class