handle subfolders for data