added if for the address book to upload a file and have the uploaded file added to the array of entries