index file added with header and footer