search closest nakefile