/**
  * Read a file's contents.
  * @param $output boolean output the file's contents instead of returning a string
  * @return boolean
  */
 function readFile($fileId, $userId, $output = false)
 {
     $temporaryFile =& $this->getFile($fileId, $userId);
     if (isset($temporaryFile)) {
         $filePath = $this->getBasePath() . $temporaryFile->getFileName();
         return parent::readFile($filePath, $output);
     } else {
         return false;
     }
 }