public void filter(File inputFile,PrintWriter o) throws IOException {
  BufferedWriter bw=new BufferedWriter(o);
  StringBuffer sb=(StringBuffer)fileMap.get(inputFile.toString());
  if (sb == null) {
    sb=loadFile(inputFile);
  }
  filter(sb,bw);
  bw.flush();
}

public void filter ( File inputFile , PrintWriter o ) throws IOException { BufferedWriter bw = new BufferedWriter ( o ) ; StringBuffer sb = ( StringBuffer ) fileMap . get ( inputFile . toString ( ) ) ; if ( sb == null ) { sb = loadFile ( inputFile ) ; } filter ( sb , bw ) ; bw . flush ( ) ; }
filters data from file .
