from typing import Dict


def get_files_stats(fstats: Dict[str, str]) -> str:
    """
    Return string with `filename status` lines.

    Parameters
    ----------
    fstats : Dict[str, str]
        {filename: status}

    Returns
    -------
    str

    """
    res = ""
    for fname in sorted(fstats):
        res += f"{fname} {fstats[fname]}\n"
    return res