public PluginAddedEvent(File file){
		Class<?> classTest;
		try {
			classTest = Class.forName("plugin."
					+ file.getName().replaceFirst("\\.class$", ""));
			this.i = (Plugin) classTest.newInstance();
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		} catch (InstantiationException e) {
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		}
		if(file != null && file.exists())
			this.f = file;
	}