Is there any alternative to XP_CMDSHELL in to create files in MS SQL Server?

I have a TSQL code through which I have to delete a text file, I was using this code:

SET @cmd2=''XP_CMDSHELL ''''DEL "C:\\Provision\\Logs\\FullBackup.txt"'''''';

But it is voiliting the STIG, so I want any alternative command to delete a file using TSQL script. Is there any other command that can delete my file just like XP_CMDSHELL?