Fix file_contains_string so it matches exact strings, not regexps.