pub fn collect_files(
    path: &str,
    file_name: &str
) -> Result<Vec<PathBuf>, Box<dyn Error>>