create  index file and make archive