change file extention to csv