return non-directory portion of a pathname
source manpages: basename