def get_first_line(file: str) -> str:
    """Get first line of file.

    Parameters
    ----------
    file : str

    Returns
    -------
    str

    """
    with open(file) as f:
        return f.readline().split('\n')[0]