private void ParseBinary(string file) { MemoryStream ms = new MemoryStream(File.ReadAllBytes(file)); long position = Util.ReadAfter(ms, Encoding.UTF8.GetBytes("sTat")); if (position != -1) { ReadStatistics(ms); } else { m_errors.Add(string.Format("Unable to find statistics in the save file {0}.", file)); } }