maybe use inotify