Change file format to xml and add new data format