Added the testFileExists method to test if the textbefore.txt file exists and added the textbefore.txt file to make the test work