Restore missing file.
Simplify the IO loop for csv_file().
Simplify the IO loop for prn_file().