Added downloading of files and some fancy error handling.