refactored convertFileToUnicode, new IT test