Utility to do things on windows file events