This is actually a very valid point that katalin2k raises as proper/linked filename naming adds context even when image indexing is disabled at the robots.txt file level. Search engines love context and the more context that's provided, the better the ranking.
You should first look at ItemActions.php, specifically uploadItemResources function to get an understanding of how uploaded resources get named, analyze dependencies and identify were changes are needed not just in core, but also in plugins that handle listing resources then code it in.