Very rough implementation of file transfers