def METHOD_NAME(self) -> Optional[UploadFileDict]:
    """A dict with the file data to upload, if any."""
    if not self.input_files:
        return None
    return {
        (input_file.attach_name or self.name): input_file.field_tuple
        for input_file in self.input_files
    }