Say with a directory structure such as:
toplev/
file2.txt
file5.txt
midlev/
test.txt
anotherdirec/
other.dat
myfile.txt
furtherdown/
morefiles.txt
otherdirec/
myfile4.txt
file7.txt
find: bad option -maxdepth find: [-H | -L] path-list predicate-list
find anotherdirec/ -type f -maxdepth 1