config::OutputType::File(file)=>file,//TODO: Download to temp file, memmap to str slice and then base64 decode. Also, determine if we need .png or .jpg from header.
config::OutputType::Directory(dir)=>{
//TODO: Implement downloading to temp and renaming to hash