pub fn file_name(path: &str, fmt: PathFormat) -> &str
Get the file name (last component after the last separator).