public function getContent() { if ($content = file_get_contents($this->getRealPath())) { return $content; } else { throw new FileEmptyException($this->getRealPath()); } }