The function fnDeleteFile is used to delete a file from the file system. (Note: a file is opened automatically when using the function fnFileWrite)
MetaTrader will only read or write files in the MT platform "Files" folder.
For example: C:\Program Files (x86)\FXCM MetaTrader 4\MQL4\Files