fn infer_from_directory(directory: &Path) -> Vec<(String, PathBuf)>