In my application I need to overwrite some shared files with a new version of them so, is it possible to know if a shared file is in use and by who? I need to check that before overwriting them.

Thanks