For a school project, I have to make a program in which the user chooses from 1 to 10 text files. Then, the program must search into this files with multiprocessor parallelism ([Task Parallel Library](http://msdn.microsoft.com/en-us/library/dd460717.aspx) I assume) to find a word and get the correct line.

I thought of putting the read into a `Parallel.For` but I have to avoid different processes to read from the same file at the same time.

How can I tell my `Parallel.For` to do that?