- added a file manager class for reading and writing to files