Updated the input file generation to new iteration XML structure.