final static regexp[] parseRegexpFile(String fname,regexp fail[])
{
 try
 {
 String line,token;
 StringTokenizer st;

 DataInputStream dis=new DataInputStream(new BufferedInputStream(new FileInputStream(fname)));
 while ( (line = dis.readLine()) != null)
 {
      if(line.startsWith("#")) continue;
      st=new StringTokenizer(line);
      if(st.hasMoreTokens()==false) continue;
      token=st.nextToken();
      if(token.indexOf('*')==-1 &&
    	 token.indexOf('/')==-1 
      ) 
	  /* domain name only support */
	  token="*"+token+"/*";
      fail=addRegexpToArray(token,fail,true);
 }
 dis.close();

 }
 catch (IOException ioe)
 {
	 System.out.println(new Date()+" I/O Error reading file "+fname);
 }
 return fail;
}