protected static function updateConfigFile($filename)
{
if (($content = file_get_contents($filename)) === false) {
throw new \RuntimeException(sprintf('File "%1$s" not found', $filename));
}
if (self::addAsseticBundle($content) === true) {
$fs = new Filesystem();
$fs->dumpFile($filename, $content);
}
}