starting to look at example code to see how to do file transfers