added ability of dataloader to read subdir and load in files into the map