add documentation on output_file