def METHOD_NAME(dir_name: str, filename: str, suffix: str = "pdf") -> str:
    """Join path components and return as string."""
    filename_with_suffix = filename + "." + suffix
    if os.path.isabs(filename_with_suffix):
        return filename_with_suffix
    return os.path.join(dir_name, filename_with_suffix)