By the way... if YOU are creating the files.. why not simplify things and write out CSV records, where each line is:
"string tag",x,y,rot
We have a topic on reading CSV text files:
[code] reading a CSV file
EDIT: Oh you are using MatLab written files, as in this post http://forums.sketchucation.com/viewtopic.php?f=180&t=35961&start=30#p319047