Add assert_file_contains assertion.

This assertion opens a file specified and checks if it contains a
particular substring.