def extractBPlist(self, bplist): fd = open(bplist,'r') data = fd.read() bp = BPlistReader(data) return bp.parse()