When exporting data with different names

these names are not included in the exported file names.

Instead the file name of the original data file (M2_data) is used.
For better identification, the name given to the dataset in the program should be part of the exported file name.