Solution: write report to file