add some demos about file, socket and thread