Added recursive directory support.