}
private boolean mergeFile(File cdxFile) {
boolean added = false;
try {
FlatFile ffile = new FlatFile(cdxFile.getAbsolutePath());
AdaptedIterator<String,CaptureSearchResult> searchResultItr =
new AdaptedIterator<String,CaptureSearchResult>(
ffile.getSequentialIterator(),
new CDXLineToSearchResultAdapter());
index.addSearchResults(searchResultItr);
added = true;
} catch (IOException e) {
e.printStackTrace();