Code cleanup + new function to create files from the XML