preliminary, untested support for simple file transfer