private static File[] loadXmlFiles(final File directory) {
		return directory.listFiles(new FileFilter() {

			@Override
			public boolean accept(File file) {
				return file.getName().endsWith(".xml");
			}

		});
	}
private static File [ ] loadXmlFiles ( final File directory ) { return directory . listFiles ( new FileFilter ( ) { @ Override public boolean accept ( File file ) { return file . getName ( ) . endsWith ( ".xml" ) ; } } ) ; }
load all XML files listed in the directory specified

@param directory
status update templates directory
@return array of status update templates (XML files)