added unit test for file util