Path functions
filename
filename(path)
Return the filename in a path
Args:
path (Text): The path to the file or directory
Returns:
Returns the base name of a path
Examples:
filename('/foo/bar/baz.pdf') -> 'baz.pdf'
filename('/foo/bar/baz') -> 'baz'
filename('/foo/bar/') -> ''