I'd really like to see some sort of utility that pulls out some of these with a clearer name.  I don't know, it just feels like all the path-manipulation becomes hard to parse to understand what it's really doing, and separating that out feels saner to me.