convert file to utf8 codecs