new File:file;file=fopen("YourFile.txt", io_read);new string[128];while(fread(file, string)) // Loop through each line in the file{ //the row is stored in 'string', do whatever you want to do with it. }