writing test for fileUtil