Explain how bile from the liver and gallbladder reaches the small intestine. What is the function of cholecystokinin?