public static function getUniqueFileName(string $fileName, string $directory): string {
    $basicFileUtility = GeneralUtility::makeInstance(BasicFileUtility::class);

    return $basicFileUtility->getUniqueName($fileName, $directory);
  }