Creates a text file index.txt 

index.txt stores path, name, directory or not,last modified time,size in Kbytes, and whther text file or not