/**
  * Returns the filename used for the output path.
  *
  * @param File $file
  *
  * @return string
  */
 protected function getDestinationFilename(File $file)
 {
     return $this->definition->getOutputFormat()->convertFilename($file->getRealPath());
 }