corrected output to write the dataset name rather than the phylum_... name