private static void deleteFolderContent(File folder, boolean deleteParentFolder) {
    File[] files = folder.listFiles();
    if (files != null) {
      for (File f : files) {
        if (f.isDirectory()) {
          deleteFolderContent(f, true);
        } else {
          f.delete();
        }
      }
    }
    if (deleteParentFolder) {
      folder.delete();
    }
  }
Generate and return {@link Properties} to instantiate {@link Router}
@param routerDatacenter Router's datacentre
@return the {@link Properties} thus constructed
ambry-test-utils/src/main/java/com/github/ambry/server/ServerTestUtil.java