protected void execute(LineCounter counter) {
   counter.run();
   synchronized (this) {
     System.out.println(counter.getFilename() + " " + counter.getCount());
   }
 }