updated to use assertFileContent