Refactored find to separate glob from matches
Added find -type functionality