Fixed bug with the file adapter with the new configs.