working on file i/o

working on file i/o