Write a summary of metrics to the summary.csv file in the report folder, if and only if that file exists.
Write a summary of metrics to the summary.csv file in the report folder,
    if and only if that file exists.