code: public static void removeFromCache(Configuration conf, String filename) throws IOException {
      FileSystem fS = FileSystem.get(conf);
      fS.delete(locateFileInCache(conf, filename), true);
    }
docs: Delete a file that has been distributed using
  {@link #distribute(Object, String, Configuration)}.