fixes warning.
fixes #14056 , delete file issue.