Update and rename newfile to newfile.txt