map barcodes: has a test for empty lines