// There will be one global instance of our class, which supposed to catch all the file events.
FileEventHandler g_cHandler;
// One time initialization. This function will simply connect the attribute in the FileEventHandler class to the original attribute in the Kernel.
// So if the kernel attribute changes it's value (i.e. a file event happened) the one in our class will also change its value, and we can catch the event.