pub fn filter( context: Arc<RwLock<SchedulerContext>>, path: PathBuf ) -> impl Filter<Extract = impl Reply, Error = Rejection> + Clone