cleaned up code. Allow space or tab in barcodes file