in reply to When file is committed to disk?

You probably need Win32::ChangeNotify