Added an option to create a summary file