modified the NameBot to handle not only basenames but filenames as well
all green for the FilepathBot class