adding averaging and file walking to report compiler