def read_line(filename, mode="r"):
    """Read a line of text.
    
    Args:
        filename (str): Name of the file.
        mode (str): Open mode https://docs.python.org/3/library/functions.html#open
    
    Returns:
        str: Text.
    
    Examples:
        >>> read_line("share/data1.txt")
        'I like to move it, move it'
    """
    with open(filename, mode) as f:
        txt = f.readline()
    return txt