show current file position in error messages