code: @Nonnull
    public static ESuccess writeToFile (@Nonnull final IMicroNode aNode,
                                        @Nonnull final File aFile,
                                        @Nonnull final IXMLWriterSettings aSettings)
    {
      ValueEnforcer.notNull (aFile, "File");
  
      final OutputStream aOS = FileHelper.getOutputStream (aFile);
      if (aOS == null)
        return ESuccess.FAILURE;
  
      // No need to wrap the OS in a BufferedOutputStream as inside, it is later
      // on wrapped in a BufferedWriter
      return writeToStream (aNode, aOS, aSettings);
    }
docs: Write a Micro Node to a file.
  
  @param aNode
  The node to be serialized. May be any kind of node (incl.
  documents). May not be <code>null</code>.
  @param aFile
  The file to write to. May not be <code>null</code>.
  @param aSettings
  The settings to be used for the creation. May not be
  <code>null</code>.
  @return {@link ESuccess}