This tool and this tool both look like they would serve the purpose you are trying to achieve. The NirSoft interface is a little less direct, but I trust the author and his ability to write code. The second seems to have a more useful UI in your situation, but I have no history with the website or author.

ProcessExplorer is another easy way to do it, simply open up ProcessExplorer, hit Ctrl+F, and then type the name of the file. ProcessExplorer will list all the programs using that file. If the WhoLockMe tool doesn't work for you, I'd recommend ProcessExplorer next, simply because it has so many other useful features.

Which programs are using my USB flash drive?
What are some general guidelines regarding the halakhic permissibility for Jewish doctors to work on Shabbat?  I know that saving lives generally overrides Shabbat, but I am curious about less black-and-white situations that may occur on Shabbat, such as having a shift where one must be in the hospital or be on call, receiving medical training, etc.  Also, in a practical halakhic sense, are there any situations in which the appropriateness of violating Shabbat would depend on whether the patients are Jewish?  I'm sure that these are not simple questions and that there are likely multiple opinions on various issues, but some insight into this topic would be welcome.
