tabulate the output file