}
catch (IOException e){
log ("Caught exception " + e);
throw new IOException (e.toString());
throw e;
finally{
if (debug > 4) {