Add a new signature to the load_data method

It should also be possible to have the following signature: sample is a folder ob and dc are list of files