reworked print_summary to avoid memory overflow
reworked print_summary to avoid memory overflow

New version reads the file line by line instead of
reading the files into memory first

PatrikAAberg/dmce,PatrikAAberg/dmce,PatrikAAberg/dmce