public BMD(FileBase file) { mFile = file; byte[] data = mFile.GetBuffer(); Stream stream = new MemoryStream(data); mModel = Model.Load(stream); }