add mode to store one metric per-file

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>