dsRead function

Loading machine learning data from a directory tree using a unified interface.