def METHOD_NAME():
    parser = argparse.ArgumentParser(
        description='Automatic policy documentation for Cloud Custodian.')
    parser.add_argument('-v', '--verbose', action='store_true')
    parser.add_argument(
        '-c', '--config_filename',
        required=True,
        dest='config_filename',
        help='YAML config filename')
    args = parser.parse_args()
    with open(args.config_filename) as fh:
        config_tmp = yaml.load(fh.read(), Loader=yaml.SafeLoader)
    config = config_tmp['config']
    validate_inputs(config)
    logging_format = '%(asctime)s %(levelname)-4s %(message)s'
    if args.verbose:
        logging.basicConfig(level=logging.DEBUG, format=logging_format)
    else:
        logging.basicConfig(level=logging.INFO, format=logging_format)
    gather_file_data(config)
    rendered_file = create_html_file(config)
    if 's3_bucket_name' in config:
        upload_to_s3(rendered_file, config)