modified:   +os/+path/basename.m
No need to check if path exists, i.e. to call realpath.