/**
* @param string $yamlFile
* @param bool $backupBeforeOverride
* @throws FileNotFoundException
*/
public function convertFile($yamlFile, $backupBeforeOverride = true)
{
if (!$this->fs->exists($yamlFile)) {
throw FileNotFoundException::fileNotFound($yamlFile);
}
$this->doConvert(Yaml::parse(file_get_contents($yamlFile)), $backupBeforeOverride);
}