Added a bunch of IO methods.  Need to split up this class.