private function getDispersionPath($fileName)
    {
        $char           = 0;
        $dispersionPath = DIRECTORY_SEPARATOR . 'original_image' . DIRECTORY_SEPARATOR;

        while ($char < 2 && $char < strlen($fileName)) {
            /** @noinspection IsEmptyFunctionUsageInspection */
            if (empty($dispersionPath)) {
                $dispersionPath = DIRECTORY_SEPARATOR . ('.' === $fileName[$char] ? '_' : $fileName[$char]);
            } else {
                $dispersionPath =
                    $this->addDirectorySeparator($dispersionPath) . ('.' === $fileName[$char] ? '_' : $fileName[$char]);
            }

            $char++;
        }

        return $dispersionPath . DIRECTORY_SEPARATOR;
    }