@SuppressWarnings("unused")
	public void grabIcal(String Strurl) throws IOException {
        FileOutputStream fos = null;
        String path = "Cal.txt";
        try {

            URL url = new URL(Strurl);
            System.out.println("Opening connection to " + Strurl + "...");
            trustManager();
            //Open connection with url
            URLConnection urlC = url.openConnection();

            // Copy resource to local file, use remote file
            // if no local file name specified
            InputStream is = url.openStream();

            if (Strurl.length() < 2) {
                String localFile = null;
                // Get only file name
                StringTokenizer st = new StringTokenizer(url.getFile(), "/");
                while (st.hasMoreTokens())
                    localFile = st.nextToken();
                assert localFile != null;
                fos = new FileOutputStream(localFile);
            } else
                fos = new FileOutputStream(path);
            int oneChar;
            while ((oneChar = is.read()) != -1) {
                fos.write(oneChar);
            }
            is.close();
            fos.close();
        } catch (IOException e) {
            System.err.println(e.toString());
        }
        ParseIcal Pic = new ParseIcal(path);
        Pic.ParseIc(path);

    }