report warning with filename