now writes analysis results to file