def METHOD_NAME(
    basestr: str, querystring: str, forceNew: bool = False, **specs: Any
) -> pandas.DataFrame:
    """
    Look for cached query results, and return newest one.  If none exist, execute the
    query.
    Args:
        basestr (str):
            Base of the cache filename.
        querystring (str):
            Exact query string to use. See ``queryExoplanetArchive`` for details
        forceNew (bool):
            Run a fresh query even if results exist on disk.
        **specs (any):
            Any additional kewyords to pass to ``get_downloads_dir``
    Returns:
        pandas.DataFrame:
            Result of query
    """
    ddir = get_downloads_dir(**specs)
    # look for existing files and return newest
    if not (forceNew):
        files = glob.glob(os.path.join(ddir, f"{basestr}_*.pkl"))
        if files:
            files = np.sort(np.array(files))[-1]
            data = pandas.read_pickle(files)
            print(f"Loaded data from {files}")
            return data
    # if we're here, we need a fresh version
    filename = f"{basestr}_{time.strftime('%Y%m%d%H%M%S')}.pkl"
    filename = os.path.join(ddir, filename)
    return queryExoplanetArchive(querystring, filename=filename)