void Main_crawler (String[] args) throws IOException{
      Validate.isTrue(args.length == 1, "usage: supply url to fetch");
        String url = args[0];
        //String url = "http://www.vimalkumarpatel.blogspot.com/";
        
        print("Checking for saved versions of the url:");
        
        
        URL location = Crawler.class.getProtectionDomain().getCodeSource().getLocation();
        String fileName = url.substring( url.lastIndexOf('/')+1, url.length() );
        File tempFile = new File(location.getFile()+fileName);
        String tempFile_name=location.getFile()+fileName;
        System.out.println(tempFile);
        
        
        if (tempFile.exists() == true) {
           System.out.println("File exists, url already fetched nothing to do");
        }
        else {
            System.out.println("File does not exists");
            print("Fetching %s...", tempFile_name);
        
                
        //File input = new File("/tmp/input.html");
        //Document doc = Jsoup.parse(input, "UTF-8", "http://example.com/");
            
        Document doc = Jsoup.connect(url).userAgent("Mozilla").get();
        create_file(doc.html(),tempFile_name);
        
        Elements breadcrumbs = doc.select("div#crumbs > a");
        
       //String links[]= 
        
        for (Element href : breadcrumbs){
            String LinkName = href.attr("abs:href").substring( href.attr("abs:href").lastIndexOf('/')+1, href.attr("abs:href").length() );
            print("%s - %s", href.text(),fileName);
        }
    }
  }