Again, I think pulling out a static method with a solid name to enclose all of this path traversal with something more semantically meaningful would help readability.