Index file creation