if (file.createNewFile() == false) {
throw new FileNotFoundException("Unable to create new file ["
+ file.getName() + "]");
}
SnoopFile capture = new SnoopFileCapture(FileMode.ReadWrite);
/*
* Open up in READONLY MODE since file is empty anyway, nothing to override,
* we will append memory cache based segments and flush them out.
*/