Fix file.contains: search for the string rather than requiring an exact match
In file.sed: "after" is not a regular expression