added implementation for printing metrics values to text file and CSV
files.

Signed-off-by: waseem abed <waseem.n.abed@gmail.com>