public function setFileMonitor(FileMonitor $fileMonitor)
    {
        $this->fileMonitor = $fileMonitor;
        $this->filesAndModificationTimes = json_decode($this->cache->get($this->fileMonitor->getIdentifier() . '_filesAndModificationTimes'), true);
    }