Generates an optional CSV report in the output directory.