finish and test the FileUtil