Hi LeonTang and LittleWing,
I think that the problem is definitely coming from the text file. LittleWing, thanks for the rectification.
If you have a Windows OS, run:
msinfo32 /report test.txt
test.txt is the file I am trying to parse.
As you probably know, it contains information about the...