added recursion

added recursion support along with file validation and globbing