Added reflection to WebFileFactory because JAVA!