useStoreConfig if config and key files are provided