First draft of the flux file watcher API