removed try catch for csvindexwriter