def METHOD_NAME(
    path: str,
    reset_timestamps: bool = False,
    add_request_id: bool = False,
    query: bool = False,
) -> None:
    with open(path, "r") as fp:
        content = fp.read()
    payload = json.loads(content)
    if reset_timestamps:
        payload = reset_payload_timestamps(payload)
    request_id = None
    if add_request_id:
        request_id = str(uuid.uuid4())
        payload["sessionInfo"]["requestId"] = request_id
    print("Will send payload:")
    pprint(payload)
    if request_id:
        print("Using request id: %s" % (request_id))
    headers = copy.copy(BASE_HEADERS)
    payload["token"] = SCALYR_WRITE_TOKEN
    res = requests.post(SCALYR_URL, headers=headers, data=json.dumps(payload))
    print(("Status code: %s" % (res.status_code)))
    print(("Response body: %s" % (res.text)))
    if query:
        time.sleep(5)
        print("Search data")
        filter_value = "requestId==%s" % (quote_plus('"%s"' % (request_id)))
        params = {
            "maxCount": 100,
            "startTime": "12h",
            "token": SCALYR_READ_TOKEN,
        }
        filters = [filter_value]
        query_url = get_query_url(scalyr_url=SCALYR_URL, params=params, filters=filters)
        print(query_url)
        res = requests.get(query_url)
        print("Status code: %s" % (res.status_code))
        print("Response body")
        pprint(res.json())