Here is the file closing method.
It is possible (though rare) for closing a file to fail.
The close() method of
PrintWriter does not throw an exception.
String sourceName, destName;
private void closeFiles()
// close the source
catch ( IOException iox )
System.out.println("Problem closing " +);
// close the destination
Since errors on closing a file are rare, would it be OK
to have closeFiles() throw its IOExceptions?