code: public static void setCacheFiles(URI[] files, Configuration conf) {
      String sfiles = StringUtils.uriToString(files);
      conf.set("mapred.cache.files", sfiles);
    }
docs: Set the configuration with the given set of files
  @param files The list of files that need to be localized
  @param conf Configuration which will be changed