New File Creation from binary array

Call Method
    CreateFile (String FilesID, String FileName, String Description, Byte[] ByteArray)
         Files object ID
         File name and type (ex: File.wav)
         File description
         File data as byte array
C# Example Switch to language: [VB.NET]
  //Create personalizer object and Session object
  PersonalizerRef.Personalizer pers = new PersonalizerRef.Personalizer() ;
  SessionRef.Session sess = new SessionRef.Session() ;
  string SessionID = "";
      SessionID = pers.CreateSession("LogonName", "Password");
      //Read file (file.wav) from disk
      FileStream fstream = File.OpenRead("file.wav");
      Byte [] bytedata = new Byte[fstream.Length];
      int readcnt = fstream.Read(bytedata,0,bytedata.Length);
      //Create Files Object
      FilesRef.Files objFiles = new FilesRef.Files() ;
      //Get Files object ID
      string FilesID = sess.GetFiles(SessionID) ;
      //Create file
      objFiles.CreateFile(FilesID, "filename.wav", "speak prompt", bytedata);
      string FileName;
      //Get first filename
          //Print file name
          Console.WriteLine("Found File=" + FileName);
          FileName = objFiles.GetNextFile(FilesID);
  catch(Exception e){
      //Print exception message e.Message