code: def update_file(self, project_path, file_path, variables):
          
          update_file = os.path.join(project_path, file_path)
          with open(update_file, 'rb') as _file:
              file_content = _file.read().decode('utf-8')
  
          for key, value in variables.items():
              file_content = file_content.replace('[[{}]]'.format(key), value)
  
          with open(update_file, 'w+', encoding='utf-8') as _file:
              _file.writelines(file_content)
docs: Update given file with given variables, variables in file must be inclosed with [[]].
  
          For example you want to replace a variable secret_key, in the file its [[secret_key]].
  
          :param str project_path:
          :param str file_path:
          :param dict variables: