download a file