Working with a file that contains several IDocs

Hi,

I need to implement a scenario in which I receive a file (flat file OR xml) that contains several materials in the form of an IDoc. Do I have to use a BPM (to split the message to several IDocs) or is there any other way to perform this (an easier one ) ?