Group errors by files