Adds index with file inclusion