Working on populating the index file to the compressed database