code: function pathMatch(root, path) {
  	var len = root.length;
  	if (root[len-1] === '/') {
  		root = root.substring(0, --len - 1);
  	}
  	return path.substring(0, len) === root && (path.length <= len || path[len] === '/');
  }
docs: /*
  Sadly, the Orion client code expects http://orionserver/file and http://orionserver/file/
  to both point to the File API. That's what this helper is for.