Step through names.txt one line at a time. The file is really one row of characters, and each read stops just past a newline, the mark that ends a line.
names.txt
a
d
a
↵
g
r
a
c
e
↵
l
i
n
u
s
↵
end
one row of characters — ↵ is a character too
Customize
Mode
File name
Lines (the newline between them is drawn, not typed)