Fixing a few issues with the file configuration provider.