public static YamlConfiguration loadFile(String pathTo, String internalPath) {
		File conf = new File(plugin.getDataFolder() + File.separator + pathTo);
		
		if (!conf.exists()) {

			//saveResource("config.yml", true);
			try {
				InputStream stream = getInputFromJar(internalPath);

				copy(stream, conf);
			} catch (IOException e) {
				e.printStackTrace();
			}

			plugin.getLogger().info("Creating " + pathTo + " for the first time..");
		}
		
		return YamlConfiguration.loadConfiguration(conf);
	}