fixed bug with files searching - GROOVY-2072 - maxDepth