write-check-delete