@scolapasta indicated that the SWORD code needs to be modified to not call DeleteDataFileCommand. It should instead call UpdateDatasetCommand.