In Smart Record is it possible to get the filename from NvDsSRContext, while file is being recorded

I have a requirement where i need to attach the name of the file to the event. Can i get the filename from recording context while data is still being written to it.

User gets to know about the file name after the completion of recording through callback. Not when recording is still on.