Don't have Telegram yet? Try it now!
http://blog.amit-agarwal.co.in/2010/05/24/inotify/
Inotify Example: Introduction to Inotify with a C Program Example