Open Parent Class as Child Class (SD Fat Library)
If RunFat is an instance of SdFile you can just cast it:

SdFile&amp; RunRoot = dynamic_cast&lt;SdFile&amp;&gt;(RunFat);


RunRoot and RunFat are now the exact same file in the exact same state (no need to open it or anything) but seen as an SdFile not a FatFile.