ensuring the same file doesn't contribute to incrementing the loaded counter more than once