```c
modded class MissionServer {
void MissionServer() {
TIntArray testArray = new TIntArray();
for (int i = 0; i < 100000; i++) {
testArray.Insert(i);
}
FileSerializer fs = new FileSerializer();
if (fs.Open("$profile:test.bin", FileMode.WRITE))
{
Print("Opened File to write");
fs.Write(testArray);
fs.Close();
} else {
Print("Error Writing File");
}
}
}
```