changed output_file to output_server