saving summary into a file now