def read_csv_file(file_path): try: with open(file_path, 'r', encoding='utf-8') as file: csv_reader = csv.reader(file) for row in csv_reader: print(row) except Exception as e: print(f"Failed to read CSV file: {e}")