If a configuration file is added, the directory cache should be cleared. I'm not sure how this should work.