code: @Nullable
    public static OutputStream getOutputStream (@Nonnull final Path aFile, @Nonnull final EAppend eAppend)
    {
      ValueEnforcer.notNull (aFile, "Path");
      ValueEnforcer.notNull (eAppend, "Append");
  
      // OK, parent is present and writable
      try
      {
        return Files.newOutputStream (aFile, eAppend.getAsOpenOptions ());
      }
      catch (final IOException ex)
      {
        return null;
      }
    }
docs: Get an output stream for writing to a file.
  
  @param aFile
  The file to write to. May not be <code>null</code>.
  @param eAppend
  Appending mode. May not be <code>null</code>.
  @return <code>null</code> if the file could not be opened