there is an info.xml file under every /var/packs/{many folders}/info.xml where are different directories but with the dirs's info in info.xml
I need to parse through every {many folders} and create a list of the filepath which is inside the Path tags if the file type is "config" which can be found by checking if "config" is the type inside the type tags.
The info.xml file wil be like this,
<Files>
<File>
<Path>usr/share/doc/dialog/samples/form1</Path>
<Type>doc</Type>
<Size>1222</Size>
<Uid>0</Uid>
<Gid>0</Gid>
<Mode>0755</Mode>
<Hash>49744d73e8667d0e353923c0241891d46ebb9032</Hash>
</File>
<File>
<Path>usr/share/doc/dialog/samples/form3</Path>
<Type>config</Type>
<Size>1294</Size>
<Uid>0</Uid>
<Gid>0</Gid>
<Mode>0755</Mode>
<Hash>f30277f73e468232c59a526baf3a5ce49519b959</Hash>
</File>
</Files>