public KerberosConfigDataFileWriter createKerberosConfigDataFileWriter(File file) throws IOException {
    return new KerberosConfigDataFileWriter(file);
  }
Creates a new KerberosConfigDataFileWriter
<p/>
The file is opened upon creation, so there is no need to manually open it unless manually
closed before using.

@param file a File declaring where to write the data
@return the created KerberosConfigDataFileWriter
@throws java.io.IOException if an error occurs while accessing the file
ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/KerberosConfigDataFileWriterFactory.java