remove tmp folder and add new files