It is unnecessary. The file resource's delete action idempotently ensures that the file does not exist, and so it doesn't need the only_if guard.