Added support for checking a file content result's textual contents.

I prefer single line ifs to be indented so it's easy to see it's a block when scanning down the file