@elfnor: the "
shorten" template function can help control path shortening. You would use the function to ensure that no name segment is longer than some N. Note that you would need to use
Template Program Mode because you would need to use subfunctions.