code: @Override
      public ZipImporter importFrom(File file, Filter<ArchivePath> filter) throws ArchiveImportException {
          Validate.notNull(file, "File must be specified");
          if (file.isDirectory()) {
              throw new IllegalArgumentException("File to import as ZIP must not be a directory: "
                  + file.getAbsolutePath());
          }
          Validate.notNull(filter, "Filter must be specified");
  
          final ZipFile zipFile;
          try {
              zipFile = new ZipFile(file);
          } catch (final IOException ioe) {
              throw new ArchiveImportException("Could not obtain ZIP File from File", ioe);
          }
  
          // Delegate
          return this.importFrom(zipFile, filter);
      }
docs: {@inheritDoc}
  
  @see org.jboss.shrinkwrap.api.importer.StreamImporter#importFrom(java.io.File, Filter)