def load_data(filepath) -> list: text_file = open(filepath, "r") data = text_file.read().splitlines() text_file.close() return data