in reply to While Loops

Read the lines in an array; use &List'MoreUtils'natatime to process that array in blocks.