Hi Ioannis,
You need to read the source file name by creating a UDF in the message mapping and then reading the value from Dynamic Configuration. Please check the solution provided by Santhosh in the thread below:
https://scn.sap.com/thread/3156237
Hope this helps.
Nick