Fix bug when reading file, now we take in utf8 which is what we were always outputting.