a java program to send a file using socket from server to client and cal bandwidth