/**
  * Returns/reads the current crawler-status
  *
  * @return PHPCrawlerStatus The current crawlerstatus as a PHPCrawlerStatus-object
  */
 public function getCrawlerStatus()
 {
     // Get crawler-status from file
     if ($this->write_status_to_file == true) {
         $this->crawlerStatus = PHPCrawlerUtils::deserializeFromFile($this->working_directory . "crawlerstatus.tmp");
         if ($this->crawlerStatus == null) {
             $this->crawlerStatus = new PHPCrawlerStatus();
         }
     }
     return $this->crawlerStatus;
 }