Cholesterol has been found to play a role in the formation of gallstones. Because of this, it is recommended that people avoid eating too many foods that are high in saturated fat. Examples include sausages and fatty cuts of meats, butter, cream, hard cheese, food containing coconut or palm oil or cakes and other desserts.