Fixed issue: Auto detect the index file if its present for HTML helper