from pathlib import Path


def security_result(name):
    """Load a security result file from the sample directory, and return the content"""
    filename = Path(__file__).parent / 'security' / '{name}.out'.format(name=name)
    with filename.open() as f:
        return f.read()