

@user_passes_test(is_in_prereg_group)
def view_file(request, node_id, provider, file_id):
    file = FileNode.load(provider)
    wb_url = file.generate_waterbutler_url()
    return redirect(wb_url)

dataset/ETHPy150Open CenterForOpenScience/osf.io/admin/pre_reg/views.py view_file/VarMisuse@28/42 `file_id`->`provider`