code: def getBagTags(bagInfoPath):
      
  
      try:
          bagInfoString = open(bagInfoPath, "r").read().decode('utf-8')
      except UnicodeDecodeError:
          bagInfoString = open(bagInfoPath, "r").read().decode('iso-8859-1')
      bagTags = anvl.readANVLString(bagInfoString)
      return bagTags
docs: get bag tags