private void LoadDocument(string fileName, IPassword password) { var buffer = _fileProxy.Load(fileName); var loader = new LoaderFactory(); var fileLoader = loader.GetFileLoader(buffer, password); EncodedData = fileLoader.Load(buffer); }