How the multiple webpages can be loaded in a single text file using java?