https://stackoverflow.com/questions/15708/how-can-i-determine-whether-a-specific-file-is-open-in-windows