docs: function getPathSegementToOutput(transform, pathSegment) {
      var rootlessPathSegment = pathSegment
      if(pathSegment[0] === root)
          rootlessPathSegment = pathSegment.slice(1) // slice the root off
  
      if(transform === undefined) {
          var resultPath = rootlessPathSegment
      } else {
          var resultPath = transform.toExternal(rootlessPathSegment)
      }
  
      return resultPath
  }