code: protected void writeHeader()
  		throws ConfigurationException, IOException
  	{
  
  		if (this.output != null) {
  			close();
  		}
  
  		this.counter++;
  
  		String filePath = PATH_OUTPUT_SQL_FILES + this.outputName +"_"+counter;
  
  		this.output = OutputFactory.getOutputStream(filePath);
  
  		// System.out.println(filePath);
  		SQLConsumerLogMessages.logFileCreation(logger, filePath);
  
  		this.sqlArchive = new File(filePath);
  
  		String[] revTable = this.sqlEncoder.getTable();
  		for (String sTable : revTable) {
  			String curLine = sTable + "\r\n";
  			byte[] bytes = curLine.getBytes(WIKIPEDIA_ENCODING);
  			this.output.write(bytes);
  		}
  
  		this.output.flush();
  	}
docs: Creates a new output file and writes the header information.
  
  @throws ConfigurationException
  if an error occurred while accessing the configuration
  @throws IOException
  if an error occurred while writing a file