added receive file for c++