pub fn files_with_extension( directory: &Path, extension: &str, ) -> Result<Vec<PathBuf>, ModelError>