import csv


def get_header(file):
    """
    Captures the header line of a given .csv file.
    Args:
        file: file name/path for the given .csv file
    Returns:
        header: the header line of the given .csv file.
    """
    read_file = open(file, 'r')
    reader = csv.DictReader(read_file)
    return reader.fieldnames