Simple Phonebook using I/O operations with text files