from pathlib import Path


def get_model_version_file(model_version, file_path):
    """Build the path to the expected location of a model_version file.

    Parameters
    ----------
    model_version : modmon.schema.db.ModelVersion
        Model version object

    file_path : str
        Path to file (relative to model_version location)

    Returns
    -------
    str
        Expected path to metrics file
    """
    return Path(model_version.location, file_path)