public Map<StoreKey, StoreKey> retrieveAndMaybeConvertStoreKeys(File[] replicas) throws Exception {
    Map<File, IndexProcessingResults> results = processIndex(new HashSet<>(Arrays.asList(replicas)), null, 1, false);
    boolean success = true;
    for (DumpIndexTool.IndexProcessingResults result : results.values()) {
      if (!result.isIndexSane()) {
        success = false;
        break;
      }
    }
    if (success) {
      return createConversionKeyMap(replicas, results);
    }
    return null;
  }
Will examine the index files in the File replicas for store keys and will then convert these store keys and return
the conversion map
@param replicas replicas that should contain index files that will be parsed
@return conversion map of old store keys and new store keys
@throws Exception
ambry-tools/src/main/java/com/github/ambry/store/DumpIndexTool.java