Function FilePath.filename

Returns the path with the directory cut off.

string filename();