create input csv file