with open(filename) as f: data = f.read()