Performance Improvement #2: Modified the buffering used when downloading
files and removed unneeded variables.