Added bdf file splitting functionality by trigger code