I want my program to determine if a file is in use before it starts writing to it, reporting this to the user in a user-friendly way. I understand that I can catch the exception that will be thrown, ...