def read_file_bin(file_path: str) -> bytes:
    """
    Read contents of file using binary mode.

    :param file_path:
    :return:
    """
    with open(file_path, 'rb') as f:
        return f.read()