public Uri parent()
{
// if no path bail
if (m_path.sz() == 0) return null;
// if just a simple filename, then no parent
string p = m_pathStr;
if (m_path.sz() == 1 && !isPathAbs() && !isDir()) return null;
// use slice
return getRange(parentRange);
}