def get_title(file_path: str) -> str:
    """
    Get the title of the file based on its position in the file.
    If there is a title, it will be the first line followed by two blank lines.
    """
    with open(file_path, 'r', encoding='utf-8') as f:
        MAX_BLANK_LINES = 2
        blank_lines = 0
        lines = f.read().splitlines()

        for line in lines[:MAX_BLANK_LINES + 1]:
            if line.strip() == '':
                blank_lines += 1

        if (blank_lines == MAX_BLANK_LINES):
            return lines[0]

    return ''