def detect(context):
    with context.probe_text_file('foobar.txt', 'abcde'):
        raise Exception
def detect(context):
    with context.probe_text_file('foobar.txt', 'abcde'):
        raise Exception