public void loadFile(String filename){
	
	String path = "data/" + filename;
	try {
            BufferedReader br = new BufferedReader(new InputStreamReader(getClass().getClassLoader().getResourceAsStream(path), "Shift_JIS"));
            String line;
            while ((line = br.readLine()) != null) {
		
                // 空行を読み飛ばす		
                if (line.equals("")) continue;
                // コメント行を読み飛ばす
                if (line.startsWith("#")) continue;
		String[] token = line.split(",");
		
                // エフェクト情報を取得する
                String name = token[0];
		String image_name = token[1];
		int animation_len = Integer.parseInt(token[2]);
		int width = Integer.parseInt(token[3]);
		int height = Integer.parseInt(token[4]);
		int x = MainPanel.WIDTH / 2 - width / 2;
		int y = MainPanel.HEIGHT / 2 - height / 2 - 50;

		effects.put(name,new Effect(image_name,animation_len,x,y,width,height));
				
            }
        }catch(FileNotFoundException e){
	    System.out.println(e);	
        } catch (IOException e) {
            e.printStackTrace();
        }	

    }