Implemented downloading of files