Once you’ve created the Dataset, you could iterate it and use the index (and thus file path) to either fix the file (re-download, recreate) or remove it from the folder.
Also, what error message are you getting?