String dbFileName = docRoot+File.separatorChar+bucketName+".tcb";
File dbFile = new File(dbFileName);
//open this index if it already exists
if(dbFile.isFile() && dbFile.canWrite()){
bucketMap.put(bucketName, new TokyoCabinetDB(docRoot,bucketName));
return true;
}else{
return false;
}
}