Perhaps you could read the file line by line, and then split the string and store each value into and array, this way you can then access each value and say store it into an array for each coloumn. Checking for white space is a good way to know where to split your string.
This may be helpful to you as to how you can cut the string. Also combine this with white space checking and you should have a solution to your problem.
Chris