code: static MD5Hash downloadImageToStorage(String fsName, long imageTxId,
        FSImage fsImage, boolean needDigest) throws IOException {
      // by default do not disable throttling
      return downloadImageToStorage(fsName, imageTxId, fsImage, needDigest,
          false);
    }
docs: Download image to local storage with throttling.