in reply to File Intersection problem

Here is one algorithm: This may not be the most efficient algorithm, but you can try it, then post your code; you are sure to get constructive criticism on code that you post.