Replace all mentions of old .add API with .file

Noticed by SourceTrek by email.