code: def _read_pem_file(cls, filename, from_package=False):
          '''Read the PEM file.
  
          Returns:
              iterable: An iterable of certificates. The certificate data
              is :class:`byte`.
          '''
          _logger.debug('Reading PEM {0}.'.format(filename))
  
          if from_package:
              return wpull.util.filter_pem(wpull.util.get_package_data(filename))
  
          with open(filename, 'rb') as in_file:
              return wpull.util.filter_pem(in_file.read()f _read_pem_file(cls, filename, from_package=False):
          '''Read the PEM file.
  
          Returns:
              iterable: An iterable of certificates. The certificate data
              is :class:`byte`.
          '''
          _logger.debug('Reading PEM {0}.'.format(filename))
  
          if from_package:
              return wpull.util.filter_pem(wpull.util.get_package_data(filename))
  
          with open(filename, 'rb') as in_file:
              return wpull.util.filter_pem(in_file.read())
docs: Read the PEM file.
  
          Returns:
              iterable: An iterable of certificates. The certificate data
              is :class:`byte`.