protected function getFilename($name, $type, $index, $content_range, $tmp_name)
    {
        $name = $this->trimFilename($name, $type, $index, $content_range);

        return ($this->fileNameGenerator->getFileName($name, $type, $tmp_name, $index, $content_range, $this));
    }