Changed so csv file name is not ..csv if a xlsx file is used