The new method is more robust and better handles directory names with spaces and special characters. It's more minimal.