public FileConfigurationProvider(DataFile configurationFile) { ConfigurationFile = configurationFile; FileLoader = new FileLoader(configurationFile); FileLoader.GetFileAsTextCompleted += new EventHandler<GetFileAsTextCompletedEventArgs>(FileLoader_FileLoaded); FileLoader.GetFileAsTextFailed += new EventHandler<ExceptionEventArgs>(FileLoader_FileLoadFailed); }