Test routines for examining the contents of files