create index file for webpage