def METHOD_NAME(f: str, opts: Namespace) -> str:
    for path in opts.includes_path:
        path = os.path.join(path, f)
        vprint(opts, 'try to include: {}'.format(path))
        if os.path.isfile(path):
            return path
    sys.stderr.write('{}: file not found! aborting.\n'.format(f))
    sys.exit(1)