EDIT
It seems your text file contains not only the expected four lines but other code.
Former content
Are you sure your text file ONLY contains these four strings and is no special format? You could probably check with another text file you freshly created.