def METHOD_NAME(self, p):
    if not os.path.exists(p):
        perror(p, "does not exist")
        return
    with open(p, 'r') as f:
        buff = f.read()
    self.lines = buff.split('\n')
    for i, line in enumerate(self.lines):
        line = line.strip()
        if line.startswith('*'):
            continue
        if len(line) == 0:
            continue
        l = line.split()
        if l[0] != "set":
            continue
        if len(l) < 2:
            continue
        line = ' '.join(l[1:]).split('*')[0]
        var, val = line.split('=')
        var = var.strip()
        val = val.strip()
        try:
            val = int(val)
        except:
            pass
        if var in self.data:
            self.data[var].append([val, i])
        else:
            self.data[var] = [[val, i]]