Added an I/O object for simple reading and writing from a file