Added support for checking for any file result.

Partial implementation of #3