public static void deleteFileWithRetry(Path path) throws IOException {
  try {
    deleteFileWithRetry0(path);
  }
 catch (  InterruptedException x) {
    throw new IOException("Interrupted while deleting.",x);
  }
}

public static void deleteFileWithRetry ( Path path ) throws IOException { try { deleteFileWithRetry0 ( path ) ; } catch ( InterruptedException x ) { throw new IOException ( "Interrupted while deleting." , x ) ; } }
deletes a file , retrying if necessary .
