Moved code for printing one file's data to a procedure.
Print data for entire directories.
Cope better with incomplete data in the files.