@Override
  public void retrieve(String name, File targetFile) throws IOException {
    try {
      myWagon.get(name, targetFile);
    }
    catch (AuthorizationException e) {
      throw new IOException("Authorization exception retrieving " + name, e);
    }
    catch (ResourceDoesNotExistException e) {
      IOException newEx = new FileNotFoundException("Resource " + name + " does not exist");
      newEx.initCause(e);
      throw newEx;
    }
    catch (WagonException e) {
      throw new IOException("Transfer for " + name + " failed", e);
    }
  }
@Override
  public void retrieve(String name, File targetFile)