The preferred method for treating biliary atresia is a surgery known as the Kasai procedure. In this surgery, the surgeons remove the damaged and diseased bile ducts out of the liver and re-establish the flow of bile by connecting the liver to the intestine directly.