few more improvements to file transfers