Question: Parse Comma-Separated Text File

I have a bit of programming experience but am completely new to Maple (using Maple V release 5, by the way). How would a person go about writing a short program that opens a plain text file, and builds a family of sets based on the content. some of these families will be quite large, so we would like to enter the data into the text files not as sets formatted {a,b,c...} but with an uninterupted sequence of characters (interuption can be comma, space or line break) representing the members of the sets, ie. a text file containing abc,def,ghi jkl would create a set equal to { {a,b,c}, {d,e,f}, {g,h,i}, {j,k,l} }. any help would be greatly appreciated!
Please Wait...