Creation of second data set

Creating second data set, writing output directly to files