Added variable to determine if the file to read from is a csv or txt
Added functions read() and write() to handle all reading and writing, underlying functions handling csvs and txts will be called by read and write as needed
Made underlying functions private and changed todo and address_book apps to use the new read() and write() functions