def contents(self):
        """
        Contents returns a list of the files in the data directory.
        """
        data = find_dataset_path(
            self.name, data_home=self.data_home, ext=None
        )
        return os.listdir(data)