code: @Override
      public T fromFile(final File file) throws IllegalArgumentException, DescriptorImportException {
          // Precondition checks
          if (file == null) {
              throw new IllegalArgumentException("File not specified");
          }
  
          // Delegate
          try {
              return this.fromStream(new FileInputStream(file));
          } catch (final FileNotFoundException e) {
              throw new IllegalArgumentException("Specified file does not exist or is a directory: "
                  + file.getAbsolutePath());
          }
      }
docs: {@inheritDoc}
  
  @see org.jboss.shrinkwrap.descriptor.api.DescriptorImporter#fromFile(java.io.File)