Pankaj,
can you explain more on this custom module ? how does it fetching the 3 output fields ? is the custom module calling ECC system or any webservice ?
Where is the custom module called sender or receiver channel ?
So if you want to send the file to the location depending on the output of the custom module then you need to use Dynamic configuration in the same custom module or mapping and then map the output to the required folder.
Br,
Manoj