Implement BaseName and PathName