inotify? https://rio.st/2007/10/11/inotify/