The easiest way would be to write your own Dataset and implement the loading in __getitem__.
The Data loading tutorial 95 might be a good starting point.
Basically you would provide the paths to all *.dat files in your __init__, and use them in __getitem__ to load a single sample.
Let me know, if you get stuck somewhere.