initial index file
generate file