go fmt
strip spaces from end of event messages
handle null inotify events
explicity handle files and directory paths seperately