Add a reference to `file`