private function changeBlockSlotAndName($targetFile, $blockName, $slotName)
    {
        $block = json_decode(FilesystemTools::readFile($targetFile), true);
        $block["name"] = $blockName;
        $block["slot_name"] = $slotName;
        $json = json_encode($block);
        FilesystemTools::writeFile($targetFile, $json);

        return $block;
    }