I'm not fully knowledgeable as to how this method fits into a normal usage pattern; I'm just noticing that if this method ever gets called twice it will add more local files to the existing dictionary without clearing the dictionary first.