now server transfer file in another thread