The f_unlink removes file or directory.
FRESULT f_unlink ( const char* FileName /* Pointer to the file or directory name */ );
The f_unlink function removes a file or directory. In read-only configuration or minimization level is >= 1, this function is not available.