implemented getContactsFromFIle