def METHOD_NAME(
    data_path,
    codespeed_url,
    codespeed_auth,
    codespeed_project,
    codespeed_executable,
    codespeed_environment,
    dry_run=False,
):
    data_paths = glob.glob(data_path)
    for data_path in data_paths:
        LOG.info("Processing file: %s" % (data_path))
        data = parse_data_file(data_path)
        payload = format_benchmark_data_for_codespeed(
            data=data,
            codespeed_project=codespeed_project,
            codespeed_executable=codespeed_executable,
            codespeed_environment=codespeed_environment,
        )
        if not payload:
            continue
        commit_id = payload[0].get("commitid", "unknown")
        send_payload_to_codespeed(
            codespeed_url=codespeed_url,
            codespeed_auth=codespeed_auth,
            commit_id=commit_id,
            payload=payload,
            dry_run=dry_run,
        )