index can be either index.html or index.htm