Updating the grep in files function to not explicitly have the period