def read_file_in_lines(filename):
	"""
	Reads a file into lines. If the file is comma-separated with ';' then the first column is read

	:param filename: the filename of the file to be read.
	:returns: a list with the lines of the file.
	"""
	with open(filename) as infile:
		lines = infile.readlines()
	return [line.strip().split(';')[0] for line in lines]