Add output in Client receiveFile function, return -1 if error and 1 if success. Also, Fixed little bug in fileManager.