adapt output, produce two txt files. add README