from pathlib import Path


def get_file_content(file_path: Path) -> str:
    """
    Get the content of the file.

    :param file_path: Path to the file you want to read.
    :return: File content.
    """
    with open(file_path, encoding='utf-8', errors='ignore') as file:
        return file.read()