code: public boolean search(final String dn,
                          final String filter,
                          final int scope) throws NamingException {
      if (debug()) {
        debug("Ldif: About to open " + dn);
      }
  
      inp = null;
      try {
        this.in = new FileInputStream(dn);
      } catch (final Throwable t) {
        throw new NamingException(t.getMessage());
      }
      return true;
    }
docs: search
  @param  dn       Used as the pathname
  @param  filter   Ignored
  @param  scope    Ignored