/**
  * @param array $databaseRow
  * @return ProcessedFile
  */
 protected function createDomainObject(array $databaseRow)
 {
     $originalFile = $this->resourceFactory->getFileObject((int) $databaseRow['original']);
     $originalFile->setStorage($this->resourceFactory->getStorageObject($originalFile->getProperty('storage')));
     $taskType = $databaseRow['task_type'];
     $configuration = unserialize($databaseRow['configuration']);
     return GeneralUtility::makeInstance($this->objectType, $originalFile, $taskType, $configuration, $databaseRow);
 }