Refacted my code and required a new class titled filestore.php to work with my address book