protected function filterPrefix(array $arguments)
    {
        if (empty($arguments)) {
            throw new InvalidCallException('At least one argument needed');
        }
        $path = array_shift($arguments);
        if (!is_string($path)) {
            throw new InvalidParamException('First argument should be a string');
        }
        if (!preg_match('#^[a-zA-Z0-9]+\:\/\/.*#', $path)) {
            throw new InvalidParamException('No prefix detected in for path: ' . $path);
        }
        list ($prefix, $path) = explode('://', $path, 2);
        array_unshift($arguments, $path);
        return array($prefix, $arguments);
    }