public static function replaceSection($file, $start, $end, $replaceWith, $trimStart = false, $trimEnd = false) { file_put_contents($file, StringTools::replaceSection(file_get_contents($file), $start, $end, $replaceWith, $trimStart, $trimEnd)); }