public @Nullable Name name() {
    if (!names.isEmpty()) {
      return Iterables.getLast(names);
    }
    return root;
  }
Returns the file name of this path. Unlike {@link #getFileName()}, this may return the name of
the root if this is a root path.
jimfs/src/main/java/com/google/common/jimfs/JimfsPath.java