Add support for file, line and stack trace