put all the downloaded files into directories