add index file to the project.