pub fn file_name_from_path(path: &str) -> String
Extract the filename from a path, with fallback to the full path.