This is not supported currently. We have a feature request already filled for this. CR number is IF-30177.
Workaround is to use 2 sources and use a joiner to get the hierarchy parser output and filename to the target.
I dont think your line# will work. Could you please exmplain how to handle it?
I mean could you please explain in detail.