Using dataclasses to simplify working with CSV files