use inotify_event struct to log filename of event