# File and File::TypesOfFileToFind

**URL:** <https://forum.juce.com/t/file-and-file-typesoffiletofind/9869>\
**Category:** General JUCE discussion\
**Created:** [January 23, 2013, 4:31pm UTC](https://forum.juce.com/t/file-and-file-typesoffiletofind/9869 "2013-01-23T16:31:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrlanglois](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jrlanglois/32/21372_2.png) [@jrlanglois](https://forum.juce.com/u/jrlanglois)\
**Post date:** [January 23, 2013, 4:31pm UTC](https://forum.juce.com/t/file-and-file-typesoffiletofind/9869/1 "2013-01-23T16:31:41Z")

</div>

Hi Jules,

Would like to make a request for a quick change that will make things a little more readable:

Making the integer parameter of File::getNumberOfChildFiles of type juce::File::TypesOfFileToFind. Likewise for File::findChildFiles.

Understandably, the documentation clarifies it, but it would be more obvious to use the enumeration since the doc refers to it in the first place!
