def delimiter_check(line):
	"""
	Determines what delimiter is used in given text file.

	Parameters:
		-line: str
			line from text file

	Returns:
		-delim: str
			delimiter used in text file

	Notes:
	Recognizes only ",", "\t", and ":" delimiters.
	"""
	if ',' in line:
		delim = ','
	elif '\t' in line:
		delim = '\t'
	elif ':' in line:
		delim = ':'
	else:
		raise ValueError('Unrecognized delimiter, use ",", "\t", or ":" instead.')

	return delim