added support for deleting snapshot file