final URL source = file.toURI().toURL();
if (driver.canProcess(DriverOperation.CONNECT, source,null)) {
LOGGER.info("ACCEPTED: "+source.toString());
// getting access to the file
final CoverageAccess access = driver.process(DriverOperation.CONNECT,source, null, null,null);
if (access == null)
throw new IOException("Unable to connect");
// get the names
final List<Name> names = access.getNames(null);