writes output to file by default