@Override
public void close() throws IOException {
wrapped.close();
}
public static boolean ramsesFilesExist(String dir) {
<BUG>final File f = new File(dir);
return new File(f, TIME_UPPER_BITS_FILE).exists() &&
new File(f, DOC_ID_BOUNDARIES_FILE).exists() &&
new File(f, TIME_LOWER_BITS_FILE).exists();
}</BUG>
}

@Override
public long memoryRequired(String metric) {
if ("time".equals(metric)) {
return memoryOverhead;
} else if ("counts".equals(metric)) {
return 0;
