output results to file, delete intermediary stats file