When using a simple single file test it's less important, but some projects have many tests run with CI. While it's possible to scroll around the output and see which file is generating the failures, it might be clearer to have it right there in the message.