import java.util.*;
import java.io.*;

public class frequency {
	public static void main(String[] args)
   {
      WordFreq f;
      if(args.length < 1) {
         System.err.println("Usage: frequency <file> ...");
         System.exit(1);
      }
      for(int n=0; n<args.length; n++) {
         System.out.println(args[n]);
         try {
            //...
         } catch(IOException e) {
            System.err.println("error: " + e);
         }
      }
   }
}

class WordFreq {
   private HashMap h;
   private BufferedReader in;

   WordFreq(String file) throws IOException {
      in =  new BufferedReader(new FileReader(file));
      h = new HashMap();
      String line;
      //...
   }
   
   public void print() {
      //...
   }
}

// vi:set ts=3 sw=3 et:

