Add user interaction and output results to file