fix double call of addTriples() during file import. update TODO