create a index.txt file