An java implementation of file transferring on the insecure network in a securely way