private void loadConfig(){
		properties[0] = "left";
		properties[1] = "right";
		properties[2] = "up";
		properties[3] = "down";
		properties[4] = "protect";
		properties[5] = "shoot";
		properties[6] = "shoot2";
		properties[7] = "sound";
		
		if(file.canRead())
		     try {
		         fstream = new FileInputStream(file);

		         DataInputStream in = new DataInputStream(fstream);
		         BufferedReader br = new BufferedReader( new InputStreamReader( new FileInputStream(file), "UTF-8"));
		         String strLine;
		         while ((strLine = br.readLine()) != null)   { 
		             String[] values = strLine.split(";");
		             if(values.length == 2) add(values);
		         }
		         in.close();
		         br.close();
		     } catch (FileNotFoundException e) {
		     } catch (IOException e) {
		     }
		
		int key;
		for(int i=0; i<config.length-1; i++){
			key = config[0];
			for(int j=i+1; j<config.length-1; j++){
				if(config[j]==key)
					config[j]=0;
			}
		}
	}