protected function getTargetFile(LocalFileNodeInterface $file, $postfix)
    {
        if (strlen($postfix) > 0) {
            $postfix = '-' . $postfix;
        }

        $pathInfo = pathinfo($file->getPath());
        $extension = isset($pathInfo['extension']) ? '.' . $pathInfo['extension'] : '';

        $path = sprintf('%s/%s%s%s', $pathInfo['dirname'], $pathInfo['filename'], $postfix, $extension);

        return $file->getClone()
                    ->setPath($path);
    }