parallelized sending & receiving of files with basic threads