code: @Override
      public OutputStream getOutputStream() throws IOException {
          if (Files.isDirectory(this.path)) {
              throw new FileNotFoundException(getPath() + " (is a directory)");
          }
          return Files.newOutputStream(this.path);
      }
docs: This implementation opens a OutputStream for the underlying file.
  
  @see java.nio.file.spi.FileSystemProvider#newOutputStream(Path, OpenOption...)