I would suggest using the INI format and WriteProfileString() function as the script can update data rather than just append to it. It would also simplify the consolidation of data without need to parse.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.