add file context to error