[?] Set directories on FileNames?

In the documentation of the FileNames function I find that to search for a type of file at an arbitrary depth you can use:

FileNames[forms,dirs,Infinity]

However, it is not said how to input “dirs”. I have tried different ways of doing it, without success.

Can somebody help me?
PS. Instead of Infinity I can plug in any depth, right? Say {1} or {10}

What exactly have you tried?

$HomeDirectory
(* /Users/rohit *)

FileNames["*.nb", $HomeDirectory, 2] (* Notebook files in levels 1 & 2 *)
FileNames["*.nb", $HomeDirectory, {2}] (* Notebook files in level {2} only *)

Many thanks, you solved my problem!