add file and line to error