file_number, format_string, Performs formatted output to the terminal or to a text file