Move from temporary file to final index