Read data from text file using Aciilo in MSD axapta x++

Read data from text file using Aciilo in axapta x++

 AsciiIo filetoread;  
  str ln;  
  container filecontents;  
 ;  
   filetoread = new AsciiIo("C:\\test.txt" , 'R');  
   filetoread.inFieldDelimiter("1234567890abcdefghijklmnop");  
   filecontents = filetoread.read();  
   while (filecontents)  
     {  
     ln = con2str(filecontents);  
     info(ln);  
     filecontents = filetoread.read();  
     }