output to file, comment out print lines