public function searchCacheDir(File $origDir) {
        if (isset($this->autoDirPathMap[\md5($origDir->getAbsolutePath())])) {
            $entry = $this->autoDirPathMap[\md5($origDir->getAbsolutePath())];
            return $entry[1];
        } else {
            return null;
        }
    }