Why cant it just tell which program?

This is so annoying in always in Windows.

—————————
Error Renaming File or Folder
—————————
Cannot rename Readme.txt: It is being used by another person or program.

Close any programs that might be using the file and try again.
—————————
OK
—————————

Why cant it just tell which user or program is using this file?