Code to merge rcc lanes with a key file