add contacts to file and read from file