Revert "Fix getTrace() to look for current file name"

This reverts commit da8220091aa965086a6b8b30582826d0ea45bfef.