changed structure of downloader; now able to download full file