settle the folders and files