Tried to adapt get_document downloading for Windows as well (un evaluated).