A small patch;
Added function Download;
Removed unused code;
Reworked function FileExists;