Ping to csv utility written in scala