def get_lines(filename):
    """
    Returns a list of lines of a file.

    Parameters
    filename : str, name of control file
    """
    with open(filename, "r") as f:
        lines = f.readlines()
    return lines