Commiting the temp/new text file within it