Very Basic chatting and file sharing app in Java