Explicitly check that `file_match` is specified.

Closes #1105.