Added API to delete files