psi_file: Add psi_eof function

Check if psi_file has reached EOF
test/file: Read entire file in chunks

Prints contents to stdout and reports number of chunks read.