updated empirical data cleaning and set up of xml files