Add filename and line number for implicit textOnly warning

Suggested this in #1036