With open(x) as f: