Deprecate error once per file & line, not just file