Add delete file and delete path API implementation