adding RemoveFile on DeleteObject functionality