# Problem with Reading Root File

**URL:** <https://root-forum.cern.ch/t/problem-with-reading-root-file/12164>\
**Category:** ROOT\
**Created:** [March 29, 2011, 12:04pm UTC](https://root-forum.cern.ch/t/problem-with-reading-root-file/12164 "2011-03-29T12:04:33Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![Pepe\_Le\_Pew](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pepe_le_pew/32/12365_2.png) [@Pepe\_Le\_Pew](https://root-forum.cern.ch/u/Pepe_Le_Pew)\
**Post date:** [March 29, 2011, 9:43pm UTC](https://root-forum.cern.ch/t/problem-with-reading-root-file/12164/14 "2011-03-29T21:43:30Z")

</div>

Maybe one more question.  
In another thread named “[Draw the 2-D histograms which in the subFolder](https://root-forum.cern.ch/t/draw-the-2-d-histograms-which-in-the-subfolder/11902)” someone had several (recursive) “TFolder” objects with histograms (in a file). Then no call to ‘file-\>FindObject…(“histogram”)’ was able to find the “histogram”.  
I needed to manually call ‘top\_level\_file\_TFolder-\>FIndObjectAny(“histogram”)’ and then it was able to recursively traverse these folders and find required objects.  
I would rather expect that “file-\>Find…()” was recursively traversing any present (file resident) TDirectory and TFolder inside.

---

_[View the full topic](https://root-forum.cern.ch/t/problem-with-reading-root-file/12164)._
