adjusted format of features and targets written to files