rearrange the files and create Corpus and Temp.