Create textindex.cpp