class LegacyIndexer implements Indexer {

    @Override
    public Index loadIndex() throws IOException {
        return xmlToIndex(unmarshalIndex(file), MoreFiles.getNameWithoutExtension(file));
    }

      LegacyIndexer(Path file);

}