adding maxdepth and mindepth functionality to find function in the file module.
Merge pull request #16205 from garethgreenaway/15799_find_max_min_depth_options

Additions to find function in file module.