Update and rename t.txt to .temp