Add load dicom directory function

But easier to memory error