using backtrace for filename
added support for line numbers in logs
modified SQL file