Retrieves the first 1000 contacts, filters all contacts for name and number(s), and writes it to a file