Added a bit to recv_file