Add filename, line no and a flag for internal/userland to output