change the newfile actions