how to create a file sytem monitor to catch every change made to a file

view full story

http://stackoverflow.com – I want to create a file system monitor which will notify whenever a change is made to any file on the file system, especially a write, new file creation or rename. I have done research, and found stuff like FindFirstChangeNotification function, pyinotify How to access the log and use it to do the above? Any file change will be then used by the software for further calculations, how to go about? Platform : Windows(priority), Linux (HowTos)