import pathlib


def get_expected_file_in_directory(file: pathlib.Path, directory: pathlib.Path) -> pathlib.Path:
    """
    Return the expected file in the directory -- the file may exist or not.
    """
    expected_file = directory / file.name
    return expected_file