open/close archive in save method