/**
  * Validates file size
  * @param Entity\File $file 
  */
 public function validateFile(Entity\File $file, $sourceFilePath = null)
 {
     $size = $file->getSize();
     if ($size > $this->maxSize) {
         $message = 'File size is bigger than "' . $this->maxSize . '"';
         throw new Exception\UploadFilterException(self::EXCEPTION_MESSAGE_KEY, $message);
     }
 }