Assert should be moved to the 3 arg assertFileContainsIgnoreCase