Thank you for your answers!
dop2000 That is a brilliant function, will definitely keep that one around for reference.
In my situation, I ended up solving the need of "backing down" or "traversing up" the hierarchy by storing the paths at various points into variables and loading the required nesting level from those.