def METHOD_NAME(obj, *args, **kwargs):
    if obj.report['report_meta']['scan_target'] != "files":
        click.secho("This report was generated against an environment, but this alerter requires a file.", fg='red')
        sys.exit(1)
    files = obj.report['report_meta']['scanned']
    obj.requirements_files = {}
    for f in files:
        if not os.path.exists(f):
            cwd = os.getcwd()
            click.secho("A requirements file scanned in the report, {}, does not exist (looking in {}).".format(f, cwd), fg='red')
            sys.exit(1)
        obj.requirements_files[f] = open(f, "rb").read()
    return func(obj, *args, **kwargs)