changes for DeleteFile api