all metrics calculated and saved to metrics file