the name array should be filled with the first field of each line
the category array should be filled with the second field of each line and respectively ....
fine you can read the whole line as string then you can use substr( ,) which takes 2 arguments
its a string function it can separate the string into parts so you can the get the
first feild and send it to the arrayes.
good luck.