csv and xml created based on array list