Save and load contact list from a file.