Added pretty printing, so that the XML file won't all go on one line.