Is there any function to return the source file name itself?
The intent would be to create a log file, which one of the data would have the name of the source that is generating that log. If you have an error, it is easier to go directly to the source file for maintenance.