pub fn shorten_path(path: &str) -> String
Returns the file name component of a path for compact display.