public string SaveToNewFile(string path) {
if (File.Exists(@path)) {
File.Delete(@path);
}
FileStream stream = new FileStream(path, FileMode.Append, FileAccess.Write);
for (int i = 0; i < frames_.Count; ++i) {
byte[] frame_size = new byte[4];
frame_size = System.BitConverter.GetBytes(frames_[i].Length);
stream.Write(frame_size, 0, frame_size.Length);
stream.Write(frames_[i], 0, frames_[i].Length);
}
stream.Close();
return path;
}