pub fn get_filename<D: Into<PathBuf>>(dir: D) -> String
Get the name of the file/directory from a file path
Returns an empty string if there is no file name