File subDir = new File(RESOURCE_DIR, subDirName);
File schemaFile = new File(subDir, "schema.ddl");
if(schemaFile.exists()) {
loadSchemaFile(SCHEMA_NAME, schemaFile);
}
for (File data : subDir.listFiles(new RegexFilenameFilter(".*\\.dat"))) {
loadDataFile(SCHEMA_NAME, data);
}
String waitNeeded = dumpFileIfExists(new File(subDir, "full_text_background_wait"));
if(waitNeeded != null) {