def METHOD_NAME(client, headers, minimal_record, users):
    # Create minimal record with public files
    login_user(client, users[0])
    recid = create_record_w_file(client, minimal_record, headers)
    logout_user(client)
    # Unauthenticated user can list files
    url = f"/records/{recid}/files"
    response = client.get(url, headers=headers)
    assert response.status_code == 200
    assert response.json["entries"]
    # Check if we can download every file
    for file_entry in response.json["entries"]:
        file_key = file_entry["key"]
        resp = client.get(f"/records/{recid}/files/{file_key}/content", headers=headers)
        assert resp.status_code == 200