use *output to specify whether there is a error in Client revceiveFile function