fn extract_name(path: &str) -> Option<String>