Added the function to write configuration to XMLs of output.