delete file newfunc