Added code for reading and writing to files