public static function formatAndResolvePath($pathOrPaths, ...$additionalPaths)
    {
        $path = rawurldecode(self::mergePaths($pathOrPaths, ...$additionalPaths));
        $path = realpath($path);

        if (!$path) {
            throw new DataHandlingException("Given path does not exist.");
        }

        return self::formatPath($path);
    }