Pages through files N lines at a time