Users can change folder name as per requirement

Change in $name variable with $original_name and index ( $i ) is not needed.