Added ability to write contact list to file #20