Simple Question: Text Files

Hello to all,

First of all I hope you are fine, and all is good (yee I know licking some buts so maybe someone answers :D:D).

My problem is very simple. I have a text file full of names. let us say the text file like the one displayed below.

John Anderson
Edward Goodwill
Jason Freemen
Adrian Lima

Now I wish to load these names inside an array. Now I successfully did this by using two text files. That is one that holds the names, and the other that holds the quantity.

However I was hoping that maybe i could do it with just one single file. Is this possible. Thanks in advance, hope the licking part will work :D!