Handle events
Finish inotify backend