There are three prominent ways to read a file: either as a huge blob of text, line by line, or one number/string at a time. Reading line by line and one bit of data at a time are relevant to this book.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.