Create base index file