Added filename output before warnings and errors