How are you separating the data from each other? Example.. entry 1 from entry 2?
If by return characters, read in 10 lines, print, read the next 10 lines and print. Use the page=2 or page=3 as the offset. If page = 3, count down (10 * 3) lines and then print the next 10.