formated index file