Add paging to allLines