def readlines(var, skip_empty_lines = True):
	"""Read the lines from a file"""
	ret = []
	with open(var) as fvar:
		for line in fvar:
			line = line.rstrip('\n\r')
			if not line and skip_empty_lines:
				continue
			ret.append(line)
	return ret