fn filename(file: Resource) -> &'static str