The code to read and process individual characters from a line in a text file, until the end of the line is reached, always fits the following pattern:
The SKIP_LINE after the loop is crucial.
This code never stands on its own. It is always included as an inner loop inside an outer loop that processes a file one line at a time.
Thus it is part of the code for reading and processing a file of lines of characters.