code: public void doOpenFile(File[] files)
  	{
  	    if (files!=null)
  	    {
  	    	if (files.length==1)
  	    	{
  	    		File f = files[0];
  		    	if (f.isFile())
  		    	{
  			    	String modFileName = f.getAbsolutePath();
  			    	int i = modFileName.lastIndexOf(File.separatorChar);
  			    	searchPath = modFileName.substring(0, i);
  		    		loadMultimediaOrPlayListFile(Helpers.createURLfromFile(f)); 
  		    	}
  		    	else
  		    	if (f.isDirectory())
  		    	{
  			    	searchPath = f.getAbsolutePath();
  		    	}
  	    	}
  	    	else
  	    	{
  	    		playlistRecieved(null, PlayList.createNewListWithFiles(files, false, false), null);
  	    	}
  	    }
  	}
docs: Open a new File
  @since 22.06.2006