move factory to FileServiceFactory from ConfigFileListenerFactory