Added ability to extract entire directories