Does this need to deal with encoding when reading the file?