Fix calls to _addFile()