Add new file text_index.erl