def METHOD_NAME():
    """
    Returns the location of the closest Verta config file.
    Returns
    -------
    config_filepath: str or None
        Path to config file.
    """
    for dirpath in get_possible_config_file_dirs():
        # TODO: raise error if YAML and JSON in same dir
        filepaths = CONFIG_FILENAMES.intersection(os.listdir(dirpath))
        if filepaths:
            return os.path.join(dirpath, filepaths.pop())
    else:
        return None