def load_file(file: str) -> str:
    """
    Loads file and returns first line
    :param file: path to file
    :return: Content of first line of file
    """
    with open(file) as f:
        line: str = f.readlines()[0]
    return line