private PathInfo GetRootPath(PathInfo part) { if (part == null) return _basePath; return Path.Combine(_basePath, part.RemoveStartSlash()); }