Add subdirectories method