write on disk if memory exceds 80% of its capacity while creating the index : the inverted file