src/main/java/de/alpharogroup/xml/XmlExtensions.java
public static <T> T loadObject(final File xmlFile) throws IOException
	{
		final InputStream is = FileUtils.openInputStream(xmlFile);
		return loadObject(is);
	}
public static <T> T loadObject(final File xmlFile) throws IOException
	{
		final InputStream is = FileUtils.openInputStream(xmlFile);
		return loadObject(is);
	}
Load from the given file name that should represent an xml file and transform it to the
generic type object.

@param <T>
the generic type
@param xmlFile
the xml file
@return the object from the given xml file.
@throws IOException
Signals that an I/O exception has occurred.