Couple more things to consider as you mentioned genetics and also the auto immune disorders that could affect the liver...
Genetics
Several forms of liver disease are caused or thought to be caused, by defective genes. These forms of liver disease may be diagnosed in infancy or may not show up until later in life. Examples include hemochromatosis, Wilson disease, tyrosinemia, alpha 1 antitrypsin deficiency and Glycogen Storage disease.
Autoimmune disorders
Sometimes a body’s immune system may begin to attack the liver or bile ducts causing inflammation and scarring which leads to a progressive form of liver disease. Examples of liver diseases believed to be caused by the immune system are primary biliary cirrhosis (PBC), primary sclerosing cholangitis (PSC) and autoimmune hepatitis.
Taken from Canadian Liver Foundation
Did they have a name for this diagnosed condition to do with your liver? Have they ever pinpointed the cause of infection or inflammation of the bile ducts? Have you ever had a liver biopsy done? Liver enzymes testing? Do you know the numbers or have copies of your tests at all?
This is pretty tough to analyze of give any feedback...having your gallbladder out due to infection? No stones?
I have some ideas but the info you've given is kinda vague...sorry. What tests have you had lately?