Some files are corrupted in some way, and I think it would be useful to track those cases automatically (e.g. by way of a subcategory of Category:Files with errors Commons) that MediaWiki identifies as being problematic, e.g. by way of error messages like "Invalid Ogg file: Stream Undecodable" (cf. T63900).
There are ways to track such files manually (e.g. through Template:Broken file), but automating the process would certainly help in getting the individual files or any systematic problems fixed in a more timely fashion.
For a related discussion, see here.