return the data collection to the correct subdirectory