public void close() throws IOException {
   if (fileToClose != null) fileToClose.close();
 }