from ast import literal_eval
result = []
with open('file.txt', 'r') as f:
    for line in f:
        result.extend(literal_eval(line.strip()))
print(result)
Reading comma separated tuples from a file in python