def detect(context):
    nonlocal selected_file
    selected_file = context.require_file('**/[fg]oo*.t?t')
def detect(context):
    nonlocal selected_file
    selected_file = context.require_file('**/[fg]oo*.t?t')