Agree this is a good feature.
I would suggest changing the name from 'Used files' as I think this will confuse. Unfortunately I am having trouble thinking of a good solution that isn't quite long. Something like 'Files associated with this text area'. That's a bit long. Perhaps a tab like 'Current files' or 'Existing files' and then a single sentence below to explain once you actually click onto that tab, like:
'The list below shows all files that are already contained within this text area.'
(it's the 'within this text area' bit that is not obvious from the name...)
However I don't think this is a silver bullet - the behaviour when you upload a file with a name that already exists is not a pleasant interface and should ideally be improved even if this feature is in place.
One option for that would be to change the popup so it offers 'Rename' and 'Cancel' - the existing one just says 'ok' and dumps you out with no clue as to what to do. Rename is always what you want to do. Deleting the file and uploading again with the same name is a bad idea; you can't reuse the same name as cache will cause horrible confusion if you do that...
(btw I think it would be better if moodle automatically changed all file names upon upload so that if you upload frog.doc it would become frog.8ba0df34.doc, i.e. add 8 chars from the start of contenthash to ensure that if the file ever changes it will get a new name... but that's another issue.)
Definitely! Please change the type of the issue from Improvement to Bug as it really is that. Just one question.
If "Existing files" (or Current files or whatever the final name would be) behaves as a repository, how will the user be able to delete a file? Does filepicker allows such operations in the right part of the window?