private function getRealPath($path) {
        if(strpos($path, '../') !== false){
            throw new AccessDeniedException('Path cannot contain "../" pattern');
        }

        return str_replace($this->virtualRootPath, $this->rootPath, $path);
    }