private void loadFile(File file) {
        //throw new UnsupportedOperationException("Not yet implemented");
        javax.swing.GroupLayout MainPanelLayout = new javax.swing.GroupLayout(MainPanel);
        MainPanel.setLayout(MainPanelLayout);
        JLabel Loading = new JLabel("Loading...");
        
        Loading.setVerticalAlignment(JLabel.TOP);
        Loading.setHorizontalAlignment(JLabel.LEFT);
        
        

        MainPanelLayout.setHorizontalGroup(
        MainPanelLayout.createParallelGroup().addComponent(Loading, javax.swing.GroupLayout.PREFERRED_SIZE, Open.getWidth(), javax.swing.GroupLayout.PREFERRED_SIZE));
        MainPanelLayout.setVerticalGroup(
        MainPanelLayout.createParallelGroup().addComponent(Loading, javax.swing.GroupLayout.PREFERRED_SIZE, Open.getHeight(), javax.swing.GroupLayout.PREFERRED_SIZE));
        
        
        pack();
        
        LinkedList<String> IDs = null;
        try {
            Scanner s = new Scanner(file);
            while (s.hasNextLine()) {
                if (IDs == null) {
                    IDs = new LinkedList<String>();
                }
                IDs.add(s.nextLine());
            }
            s.close();
        } catch (FileNotFoundException ex) {
            Logger.getLogger(NewOnTVGUI.class.getName()).log(Level.SEVERE, null, ex);
            System.exit(1);
        }
        
        
        for (int i = 0; i < IDs.size(); i++) {
            if (shows == null) {
                shows = new LinkedList<Series>();
            }
            shows.add(new Series(IDs.get(i)));
        }
        IDs.clear();
        Loading.setVisible(false);
        MainPanelLayout.removeLayoutComponent(Loading);
        for (int i = 0; i < shows.size(); i++) {
            JLabel temp = new JLabel(i + 1 + ".  " + shows.get(i));
            
            temp.setVerticalAlignment(JLabel.TOP);
            //temp.setBounds(i * temp.getHeight(), 0, temp.getWidth(), temp.getHeight());
            temp.setHorizontalAlignment(JLabel.LEFT);
            
            


            MainPanelLayout.setHorizontalGroup(
            MainPanelLayout.createParallelGroup().addComponent(temp, javax.swing.GroupLayout.PREFERRED_SIZE, MainPanel.getWidth(), javax.swing.GroupLayout.PREFERRED_SIZE));
            MainPanelLayout.setVerticalGroup(
            MainPanelLayout.createParallelGroup().addComponent(temp, javax.swing.GroupLayout.PREFERRED_SIZE, MainPanel.getHeight(), javax.swing.GroupLayout.PREFERRED_SIZE));
            
            
            pack();
        }
    }