What are the mistakes there?
iterating over the file object at all instead of just calling self.cache = openFile.readlines() means that calling strip() the line below removes data beyond just the trailing newlines.
with open(self.file_path, 'r') as openFile:
for line in f:
`f` does not exist. It should be `openFile`.