output txt, csv format summary