Added feature to write benchmark report to file.