Adding util files for generating indexes and the search query.