unit test for FileUtil.java