public static void marshal(String filepath) 
	{
		// Length Unit
		MyUnits lengthUnits = new MyUnits();		
		lengthUnits.add(new MyUnit("km", 1000, false, new LanguageHandler[]{new LanguageHandler("de", "Kilometer", "Es sind Kilometer"), new LanguageHandler("en", "kilometer", "1000 times a meter")}));
		lengthUnits.add(new MyUnit("m", 1, true,  new LanguageHandler[]{new LanguageHandler("de", "Meter", "Ein Meter ist knapp die Hälfte einer Körperkrösse"), new LanguageHandler("en", "meter", "Meters are not Inches")}));

		FileOutputStream fOS = null;
		try 
		{
			fOS = new FileOutputStream(filepath);
		}
		catch (FileNotFoundException e1) 
		{
			System.out.println(e1.getMessage());
			e1.printStackTrace();
		}

		try 
		{
			Factory.saveInstance(fOS, lengthUnits);
		} 
		catch (JAXBException e) 
		{
			System.out.println(e.getMessage());
			e.printStackTrace();
		} 
		catch (IOException e) 
		{
			System.out.println(e.getMessage());
			e.printStackTrace();
		}
	}