Adding an exclusion feature to exclude paths and files from being watched

Hope my code is enough clean and clear to be added in the initial code.

I had a problem with this code, the event type is not stored in the log file, then we have the file or directory path involced but not the event type. I think it's also like this on the Greggorhyhz code.
I will try to add this in my watcher fork.

Sincerely