c# binary file reader/writer.