public function getFilePath(IFile $file, string $format, array $formatterConfig = []): ?string
    {
        $alias = $this->getAliasConfig($file->getModelAlias());
        $formatter = $this->buildFormatter($file, $format, $formatterConfig);
        $targetPath = $alias->getAssetPath($file, $format);

        if (!$this->cacheFile($file, $formatter, $targetPath)) {
            return null;
        }

        return $targetPath;
    }