First, thanks for the help Mike.
Here is an example of the config file (which we will refer to as config.txt) I have to "parse":
0,1,15,360,string1,string2,...,string n
PARAM1=VALUE1
PARAM2=VALUE2
As you can see the configuration file format mixes CSV with PARAM=VALUE format. Why...