Hi Steve,
The first demo, not so impressive, you are doing things line by line maybe even slower than a sequential file and load, certainly more complex.
2nd code demo opens my eyes, you can set a string to an array and vice versa! ? ! That is cool! There you are doing things in file chunks.