'This is called only at upload to write the html file
cannot rename the datasets here - they come with the default unfortunately'

def generate_primary_file(self, dataset=None):

    self.regenerate_primary_file(dataset)
