public @NotNull Path toNioPath() {
    Path path = getFileSystem().getNioPath(this);
    if (path == null) {
      throw new UnsupportedOperationException("Failed to map " + this + " (filesystem " + getFileSystem() + ") into nio Path");
    }
    return path;
  }
public @NotNull Path toNioPath()