Read and write configuration, sample configuration content with default values.