Created another Socket for file transfer and used Object Streams