• To get the value of your variable and not "System.__ComObject"

    Instead of:

    string fileVars = vars.ToString();

    Use:

    string fileVars = vars["Filename"].Value.ToString();