using miscutil.read_templatefile(temp_filename) function in domino client