test with and without inotify
reverse if statement