avoid duplicating all entries when using multiple files