You have two issues, you will need to change
String https_url = "https://www.google.com/"; to point to your file
and
print_content routine because this only displays to the console.
Google has many examples and something like this may fit your requirements
download from the web[
^]
Regards
/Darren