file.basename — Returns the file name with no paths.
file.basename filename
file.basename
filename
Returns the file's name, with no URL schema or paths.
file.basename file:///foo/bar/bee/bop.txt
Would return
bop.txt