How can you define Root for multiple SD lib examples?

I am getting "'class SdFile' has no member named 'rewindDirectory'" after trying to combine examples listfiles and CardInfo sketches.

I found out the hard way that sd that comes with arduino is buggy and needs the rewindDir which SdFile does not. I have always thought the example code was golden, maybe not.

So I commented out File root, and thought I could use SdFile root because I can't use them both or I get "conflicting declaration 'SdFile root'"

If possible, I would like to list files to my TFT with one touch screen button and Cardinfo with another button reporting results to the tft screen. Can one lib do all? If not how do you set up the declarations for using two library's sharing root?

  //File root;  //for list files function
  Sd2Card card;
  SdVolume volume;
  SdFile root;

Thanks