public ProfileData (string filename) { using (LogFileStream stream = new LogFileStream (filename)) { while (stream.ReadBlock ()) AddBlock (stream.CurrentBlock); } }