Here you should use encoding that was used to write file's content.