Function filter

Source
fn filter(path: &Path) -> bool