Yeah, but I had problems because of the results. Had to use string[] not string. Other conflicts also.
This works...
IList<string> list = project.Lists["List1"];
lock (SyncObjects.InputSyncer)
{
string[] result = FileSystem.FileGetLines(@"C:\images\failed.txt","0-10",true,false);
foreach...