Add rather ugly output of filename where error occurs.