moved the two greps (directory and file content) together into one, with a command line switch to select file search or dir search.