pub fn get_all_files( path: &Path, file_formats: &[FileExtension], ) -> Result<Vec<Result<PathBuf, GlobError>>, Error>