public static void RecordData(HttpViewModel httpViewModel)
        {
            if (FileWriterManager.File == null)
            {
                FileWriterManager.OpenFileStream();
            }

            FileWriterManager.WriteData(httpViewModel);
        }
 internal static void CancelRecordData()
 {
     FileWriterManager.CloseFileStream();
 }