File I/O demo works now.

Still concerned about the binary I/O, but I'll see if it supports what I
want to do.