log file extraction & peak usage functionality needs fixing[BUGGY]