Add index temp file