Added page numbers to the output file.