Remove debug. Add output invalid filename to summary.