remove unused var
add sendspace support for file exchange