code: def update(self, file_dict):
          
          for key, val in file_dict.items():
              if key in self.file_dict:
                  self.file_dict[key] |= val
              else:
                  self.file_dict[key] = val
docs: Update self with values from a dictionary
          mapping file path [str] to `FileFlags` enum