Added support for checking for a file stream result

Partial implementation of #3