create new csv file functional