private function validateFileNotExist(&$errors, $file)
 {
     foreach (ConfigResolver::get('additional_languages') as $lang) {
         $foreignFileWithPath = $this->getForeignFileWithPath($file, $lang);
         $foreignPath = $this->getForeignPath($file, $lang);
         if (!is_file($foreignFileWithPath)) {
             if (ConfigResolver::get('auto_fix')) {
                 ErrorFixer::writeNewLanguageFile($foreignPath, $file->getFilename(), $this->sourceArray);
             }
             array_push($errors, new Error(ErrorCodes::$file_not_exist, $lang, $file->getFilename(), "whole file generated"));
         }
     }
 }