Add printing of match statistics
Implement result file feature