private static function getThumbFiles(): array
    {
        $result = [];
        $thumbFinder = Finder::findFiles('*')->in(self::$parameters['thumbPath']);
        foreach ($thumbFinder as $file) {
            $basename = $file->getBaseName();
            $specialDelimiter = strrpos($basename, '_');
//            $pathEnd = strrpos($basename, 'pew');
//            $prefixPath = null;
//            if ($pathEnd) {
//                $prefixPath = str_replace('S', '/', substr($basename, $specialDelimiter + 2, $pathEnd - strlen($basename)));
//            }
            $lastDot = strrpos($basename, '.');
            // restore old name
            $result[$file->getRealPath()] = substr($basename, 0, $specialDelimiter) . substr($basename, $lastDot);
        }
        return $result;
    }