don't export subfolders helper function
closer to the fsnotify API
split out event processing