public function updateFiles(AbstractData $data, Request $request, Entity $entity, $entityName)
    {
        // With optional soft deletion, the file should be deleted first.
        return $this->shouldWriteFile($data, $request, $entity, $entityName, 'updateFiles');
    }