Adding files to index.