update create_sample_summary_file method