log failure message of each file to error so it is better readable (as
it is highlighted in Ant display as red)