public NXNode<?> resolvePath(String s) {
        String[] e = (s.startsWith("/") ? s.substring(1) : s).split(Pattern.quote("/"));
        NXNode<?> r = _baseNode;
        for (String f : e) {
            if (f.equals(".")) continue;
            else if (f.equals("..")) r = _baseNode._parent;
            else r = r.getChild(f);
            if (r == null) return null;
        }
        return r;
    }