I have script mentioned below , the data will come as .csv format. The same code is working fine in Windows However on Mac pro