def extract_paper_id(line):
	"""
	@Params:
	line: text line
	@Returns: 
	paper_id: extracts the paper-id enclosed within "[*]"
	"""
	line = line.split("[")
	# "-2" is to remove the last 2 characters for CLRF line endings.
	paper_id = line[-1][:-2]
	return paper_id