read and translated the file