update the config sample

supports loading from filename.