getBaseName
Returns the basename (i.e. the part up to and not including the last ".") of the last path segment of a filename.
Will return the file name itself if it doesn't contain any dots. All leading directories of the filename parameter are skipped.
Return
the basename of filename
Parameters
filename
the name of the file to obtain the basename of.