Add ReceiveFile function