clean up newfile