def readKeyValueCSV(filename):
	"""
		Reads a key-value csv file and returns the contents as a python dictionary. @filename is the path to the file.
		
		returns: file contents as <dictionary>
	"""
	# Resultant dictionary.
	result = {}
	
	# Read file and collect key-value pairs into result.
	with open(filename, "r") as infile:
		for line in infile:
			key, value = line.split(",")
			result[key.strip()] = value.strip()

	return result