Need to capture input file name in the transformer

Hi,
I have a file reader and file writer in my graph.
My input file name is constructed using regular expressions.
However , i need to know the exact file name and need to pass it to my output file .

Can anyone suggest me a way to capture the input file name?

Hello,
see auto_filling in Field formats and other goodies