code: @SuppressWarnings("unchecked")
  	public void init(FilterConfig c) throws ServletException {
  
  		Properties p = new Properties();
  		ServletContext sc = c.getServletContext();
  		for (Enumeration e = sc.getInitParameterNames(); e.hasMoreElements();) {
  			String key = (String) e.nextElement();
  			p.put(key, sc.getInitParameter(key));
  		}
  		for (Enumeration e = c.getInitParameterNames(); e.hasMoreElements();) {
  			String key = (String) e.nextElement();
  			p.put(key, c.getInitParameter(key));
  		}
  		
  		String cfgName = INCOMING_PATH;
  		String incomingPath = p.getProperty(cfgName);
  		if((incomingPath == null) || incomingPath.length() == 0) {
  			throw new ServletException("Invalid or missing " + cfgName +
  					" configuration");
  		}
  		incoming = new File(incomingPath);
  		tmpIncoming = new File(incoming,"tmp");
  		try {
  			ensureDir(incoming);
  			ensureDir(tmpIncoming);
  		} catch (IOException e) {
  			throw new ServletException(e);
  		}
  	}
docs: TODO: get rid of this