public void openFile()
	{
		System.out.println("manager.openFile() CALLED");
		JFileChooser fc = new JFileChooser();
		fc.setFileFilter(new FileNameExtensionFilter("mp3 files", "mp3"));
		int answer =  fc.showOpenDialog(null);
		if (answer == JFileChooser.APPROVE_OPTION &&
			fc.getSelectedFile().getName().endsWith(".mp3"))
		{
			setFile(fc.getSelectedFile());
			setTitle("Music Player - " + getFile().
				                         getName().
				                         substring(0,getFile().getName().length()-4));
		    stopPlay(); // stopPlay() sets 'checkPlayCondition' to false. This is done here just to be explicite.
		    //checkPlayCondition = false;       this is not allowing the thread to sleep for some reason
		    
		    try   // this is not a perfect solution
		    {
		    	Thread.sleep(1000);
		    }
		    catch (Exception ex){}
		    // the thread classes intermittently check the 'checkPlayCondition' attribute to decide
		    // weather to continue executing. If they aren't given enough time to check that attribute
		    // before another song is played then they will execute at the same time.
		    
		    
		    
		    playMusic();
			startUpdateLabel();
			changeBtnImage(getImage2());
			setCheckPlayCondition(true);
			
			
		}
		else if (answer == JFileChooser.APPROVE_OPTION &&
			     !fc.getSelectedFile().getName().endsWith(".mp3"))
		{
			// to do WRITE CODE HERE
			System.out.println("You picked a file but it was not an mp3.");
		}
		else
		{
			
		}
	}