Add option for detailed output which is saved in result file