Added recursion for directories

Identifies directories and the files within them