code: def parseconf (self, filename):
          
          with open(filename) as fd:
              # yet another config format, sigh
              for line in fd:
                  line = line.strip()
                  if not line or line.startswith("#"):
                      # ignore empty lines and comments
                      continue
                  split = line.split(None, 1)
                  if len(split) == 1:
                      self[split[0]] = True
                  else:
                      self[split[0]] = split[1]
docs: Parse clamav configuration from given file.