I don't think you need `$modified` when using inotify_read to check for updates :)