public void close() throws IOException {
   if (file != null) file.close();
 }
 public void close() throws IOException {
   for (OFile file : files) {
     if (file != null) file.close();
   }
 }