code: def get_file(self, file_path):
      
  
      try:
        resp = self._conn.get_object(
          Bucket=self._path.bucket,
          Key=self.get_path_to_file(file_path),
        )
  
        encoding = ''
        if 'ContentEncoding' in resp:
          encoding = resp['ContentEncoding']
  
        return resp['Body'].read(), encoding
      except botocore.exceptions.ClientError as err: 
        if err.response['Error']['Code'] == 'NoSuchKey':
          return None, None
        else:
          raise
docs: There are many types of execptions which can get raised
        from this method. We want to make sure we only return
        None when the file doesn't exist.