fix bug for merging all PredefinedBarcodes into same barcode file.