Demonstration code for downloading - very experimental.
Can Download and Upload files.
Converting data is still a problem.
Cleaned up code now works except for the need to run upload twice.