def METHOD_NAME():
    # given
    file_format = "jpg"
    file_name = "2Fvar2Ffolders2Fbj2F61gtb14j7rz474yd15tnkzjh0000gn2FT2Fa"
    assert len(file_name) > FILE_NAME_MAX_LENGTH
    url = f"http://example.com/{file_name}.{file_format}"
    # when
    result = get_filename_from_url(url)
    # then
    assert result.startswith(file_name[:FILE_NAME_MAX_LENGTH])
    assert result.endswith(file_format)
    assert result != f"{file_name}.{file_format}"
    assert len(result.split("_")[0]) == FILE_NAME_MAX_LENGTH