Support for attaching a mask file to the data loading, and storing the mask parameters in an accessible array in samplemanager