The file cannot be accessed error should have more options than just ''OK''

The idea to rename files automatically is not new.
See e.g. this thread: