Created a class to read and write files for the todo list and address book.