Set the basename for this filename. For example if this filename contained the filename c:\windows\fred.txt and the new basename was alfred then this filename would contain c:\windows\alfred.txt.