void getFile(String fileName) throws Exception
 {
	 System.out.println("in client getFIle "+fileName);
     //dout.writeUTF(fileName);
	 
     String msgFromServer=din.readUTF();
     System.out.println("msgFromServer "+msgFromServer);
     if(msgFromServer.compareTo("File Not Found")==0)
     {
         System.out.println("File not found on Server ...");
         return;
     }
     else  if(msgFromServer.compareTo("READY")==0)
     {
         System.out.println("Receiving File ...");
         
         File f=new File(fileName);
         FileOutputStream fout=new FileOutputStream(f);
         int ch;
         String temp;
         do
         {
             temp=din.readUTF();
             ch=Integer.parseInt(temp);
             if(ch!=-1)
             {
                 fout.write(ch);                    
             }
         }while(ch!=-1);
         fout.close();
         System.out.println(din.readUTF());
             
     }
     
     
 }