fn infer_subdirectory(entry: &DirEntry) -> Option<(String, PathBuf)>