pub fn find_file(dir: &Path, pattern: &str) -> Result<PathBuf, Status>