[Bug 244] For nested directories, extract the basename to get the filename after...