public String getName(int nestedDepth) throws IOException {
		FSRL current = this;
		for (int depth = 0; depth < nestedDepth; depth++) {
			FSRL parentContainer = current.getFS().getContainer();
			if (parentContainer == null) {
				throw new IOException(
					"Unknown requested FSRL parent, requested depth " + nestedDepth + ", only " +
						getNestingDepth() + " available in " + this.toString());
			}
			current = parentContainer;
		}
		return current.getName();
	}
Returns the name portion of the FSRL part at parent depth {@code nestedDepth}, where 0
is ourself (equiv to just calling {@link #getName()}, 1 is the parent
container's name, etc.

@param nestedDepth relative parent index of FSRL part to query, 0 == this instance.
@return name portion of the path of the specified FSRL part.
@throws IOException if nestedDepth is larger than number of FSRL parent parts.
Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/FSRL.java