implemented FileConfigSource::read() by copying the old version with a few changes