Download method created
Removed unused variable (nbytes)