For syntax errors - the file name where the error occurred.
traceback/TracebackException.filename
TracebackException.filename