if you check the readprofilestring, with it you can get all the keys and values in those keys pretty simply.

all it takes is a loop:
$keys=readprofilestring($file,"",...)
for each $key in $keys
$values=readprofilestring($file,$key,"")
$rc=writeline(1,@crlf+$key)
for each $value in $values
$valuedata=readprofilestring($file,$key,$value)
$rc=writeline(1,$valuedata+";")
next
next
_________________________
!

download KiXnet