dataParse would be ok, unless you need the full strings in the struct. Then you must parse it by script. Clib functions like getline() are normally in the stdio header - if not, you can add them like the other functions in that header.