code: public static FileWriter createFileWriter(String className, LogFilePath logFilePath,
                                                CompressionCodec codec,
                                                SecorConfig config)
              throws Exception {
          return createFileReaderWriterFactory(className, config).BuildFileWriter(logFilePath, codec);
      }
docs: Use the FileReaderWriterFactory specified by className to build a FileWriter
  
  @param className the class name of a subclass of FileReaderWriterFactory to create a FileWriter from
  @param logFilePath the LogFilePath that the returned FileWriter should write to
  @param codec an instance CompressionCodec to compress the file written with, or null for no compression
  @param config The SecorCondig to initialize the FileWriter with
  @return a FileWriter specialised to write the type of files supported by the FileReaderWriterFactory
  @throws Exception on error