Revert "writes an output .csv"

This reverts commit d82394e5484d10fb0e85231199163f1eccb8c844.