GetPathOrName
status_t GetPathOrName(BString& _path) const;
return GetPathOrName(path) == B_OK ? path : BString();