Finally fixed encoding issue for file, but still need to deal with BOM and <feff> chars