Fix issue #80

I changed array_merge of objects to array_push of children for each $file to the first $file