save to zip and restore from zip