swp
generate index file