index and terms file