private void LoadDataFromFile(string filename) { var stream = new FileStream(filename, FileMode.Open, FileAccess.Read); _sourceObjects = _dataLoader.GetSourceObjectsFromStream(stream); }