Ensures that CBT variable and filenames match