code: def open(self, create_if_not_found=True):
          
          try:
              self.data = self._read()
          # If the file does
          except FileNotFoundError as e: 
              if create_if_not_found is True:
                  self.data = {}
              else: 
                  raise e
  
          # Enforce the following keys exists in data.
          if 'clusters' not in self.data:
              self.data['clusters'] = []
          if 'contexts' not in self.data:
              self.data['clusters'] = []
          if 'users' not in self.data:
              self.data['users'] = []
          if 'apiVersion' not in self.data:
              self.data['apiVersion'] = 'v1'
          if 'kind' not in self.data:
              self.data['kind'] = 'Config'
          if 'preferences' not in self.data:
              self.data['preferences'] = {}
          if 'current-context' not in self.data:
              self.data['current-context'] = ''
  
          return self
docs: Open a kube config file. If the file does not
          exist, it creates a new file.