LAI-20 Basic CSV writing code in place