private void DeSerialize(ContextBase context, string fileName) { using (StreamReader streamReader = new StreamReader(fileName)) { context.DeSerialize(streamReader); } }