extract configuration data provider for streams and files

PR with extracting providers only :)