Implements the Inverted Index structure to search files