Cluster from file controlled from another component

Hi all,

i try to create a gh component that get a filepath to a clusterfile as input.
This component creates dynamic inputs and outputs acording to the cluster from file.

At the moment i stuck at the component inpust after they where created.
I tried to get the Params.Input[i].VolatileData and feed this Structure to the Cluster.Params.Input[i].VolatileData.
I dont know if this way will work and only some steps inbetween are missing or if this way is the wrong one.
Would be great if someone could give me some tips which way could work or which steps inbetween needs to be done.

Any help is welcome.