Thanks for your reply the blog almost works for my requirement but what is different in my case is I have two flat files coming in from two different business systems so System A and System B sends two files in a 10 minute interval and I need to merge these file into a third file and send it to two business systems.
When I use iflows it gives me an option to split a message from one to many but there is no option/pattern for many to one mapping.