static void constructList(String podcastListName) {

        String name = null;
        String url = null;

        try {
            Scanner sc = new Scanner(new File(podcastListName));
            while (sc.hasNextLine()) {
                String line = sc.nextLine();

                // if it's the url 
                if (line.startsWith("http://")) {
                    url = line;
                } else if (!line.startsWith("#")) {
                    // if it's not a comment
                    name = line;
                }

                /* if a name an a poddcast were found 
                 construct a new poddcast
                 */
                if (name != null && url != null) {
                    Poddcast p = new Poddcast(name, url);
                    poddcastList.add(p);
                    name = null;
                    url = null;
                }

            //System.out.println(line);
            }
        } catch (FileNotFoundException ex) {
            Logger.getLogger(Analyse.class.getName()).log(Level.SEVERE, null, ex);
        }

        System.out.println(poddcastList);
        for (Poddcast p : poddcastList) {
            p.downloadXML();
            p.analyseXML();
            p.downloadList();
        }
    }