addition of report for individual query results to be used as output to file