Adapted code from my bomberman into a basic file IO class.
The class uses a BufferedReader and a BufferedOutputStream. I put some
discussion of those two in the comments.