Made open-file def to return list of sentence