update newFile