def METHOD_NAME(_dir):
    """ Function to remove a entire directory and the files within"""
    try:
        if (sys.version_info >= (3, 8)):
            logging.debug("Removing Folder %s", _dir, stacklevel=3)
        else:
            logging.debug("Removing File %s", _file)
    except Exception:
        pass
    try:
        if os.path.isdir(_dir):
            rmtree(_dir)
    except Exception:
        pass 