Started to add csv file functionality