Read until condition is met and read next line storing it as an array
<p>I currently have a conf file which exists out of the following format:</p>

<pre><code>[client]
person1,person2,person3,person4

[employee]
emp1,emp2,emp3,mp4
</code></pre>

<p>And so on. Now I need to read the file to store the data that comes after the line [employee] into and array.</p>
