@Override
      public boolean accept(File dir, String name) {
        return name.endsWith(IndexSegment.INDEX_SEGMENT_FILE_NAME_SUFFIX) || name.endsWith(
            IndexSegment.BLOOM_FILE_NAME_SUFFIX);
      }
Closes the index and clears all the index files.
@throws StoreException
ambry-store/src/test/java/com/github/ambry/store/CuratedLogIndexState.java