public Config(String configname, String type){
		config = new File(configname + ".txt");
		if(!config.exists()){ //If it does not exists, we create a new file and add defaults
			try {
				config.createNewFile();
				r = new BufferedReader(new FileReader(config));
				p = new PrintWriter(config);
				if(type.equals("Server")){
					p.println("IRCPass: " + "defaultpass");
					p.println("IRCFileFolder: " + "files");
				} else if(type.equals("ServerBot")){
					p.println("test_command: " + "Received test command.");
				} 
				p.close();
			} catch (IOException e) {
				e.printStackTrace();
			}
		} else { //Else just make the reader.
			try {
				r = new BufferedReader(new FileReader(config));
			} catch (FileNotFoundException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}
		
	}