def get_destination_filename(path, prefix="t", overwrite=False):
    """
    Get the output file name.

    :param pathlib.Path path: Destination path
    :param str prefix: prefix of filename.
    :param bool overwrite: if True then
    :return: file name for output
    :rtype: str

    """
    if overwrite:
        name = path.name
    else:
        name = "-".join([prefix, path.name])
    return name