docs: def files(self, data):
          """Set files from data."""
          current_files = self.files
          if current_files:
              raise RuntimeError('Can not update existing files.')
          for key in data:
              current_files[key] = data[key]