def flag_empty_text(text,min_nb_of_chars=5):
	""" detect the empty text
		An empty file is a file where the number of chars is
		below the threshold (default=5).
		return a boolean
	"""
	empty = False
	if len(text)<min_nb_of_chars:
		empty = True
	return empty