Initializing index file