public void writeMap(Map map, String filename) throws IOException { System.out.println("Asked to write map "+filename);
public void writeMap(Map map, String filename) throws Exception { writeMap(map, new FileOutputStream(filename));
    public void writeMap(Map map, String filename) throws IOException {	System.out.println("Asked to write map "+filename);    }