Added functions to HDFSUtils, created test suite to test it.