changing inverted index writeup
changing query index to take file with rows