Tokenizing the words from the files and creating index datastructure out of that