hey, i need a way to open a text file line by line

HEY THERE
WHATS UP
NO WAY
really?



and it reads the FIRST LINE, and puts it into text1.text
then it goes to the next, and puts its in text1.TAG
ect..

so i can put the first line in a place, second in a place, third, fourth, ECT..

so like:

HEY THERE-> text1.text
WHATS UP->text1.tag
NO WAY->text2.tag
really?->command.caption

like as an example

Well, anyone know?