Updated readFiles

Now accepting 2 words as input