added ability to search for filenames in $PATH