CGrep.java implementation. Reads the pattern and files names and creates
a collectionActor