You're only repeating it twice, but could abstract it above:  `cert_file = pkg_resources.resource_filename(__name__, 'data/clever.com_ca_bundle.crt')`