private function isValidPath($path)
    {
        $pathParts = explode('/', $path);

        if (!strncmp($path, '/', 1) ||
            array_search('..', $pathParts) !== false ||
            strpos($path, ':') !== false)
        {
            return false;
        }

        return true;
    }