Make the file index