Concatenate trees

Hi

I get my data in a file containing trees, though for some reason (most probably, memory leak), I cannot get more than certain number of events in one file. So I need to get them in separated files like first file covers events from 0 - 10000 then the next ten thousand in the next file and so on.

However, when I read them for analysis, I would like to be able to treat these separate files as one. Is there a way to do this? Like adding other trees as friends?

Thank you for your help.

Sorry, I just realized this is the same problem as “merging” posted a few days ago. Thanks.