Added temporary file to record error.