code: public static void forceDelete(final Path path) throws IOException {
  		if (!java.nio.file.Files.isDirectory(path)) {
  			java.nio.file.Files.delete(path);
  		} else {
  			java.nio.file.Files.walkFileTree(path, DeleteDirVisitor.getInstance());
  		}
  	}
docs: Deletes a path from the filesystem
  
  If the path is a directory its contents
  will be recursively deleted before it itself
  is deleted.
  
  Note that removal of a directory is not an atomic-operation
  and so if an error occurs during removal, some of the directories
  descendants may have already been removed
  
  @throws IOException if an error occurs whilst removing a file or directory