1st implementation of grep (just working with files)