add `save` event for file adapter