public static LevelData Load(string filename)
 {
     FileStream stream = new FileStream(filename, FileMode.Open);
     LevelData ld = new LevelData();
     ld.FromStream(stream);
     stream.Close();
     return ld;
 }