Allow use of InputStream, this allows schematics to be loaded e.g. as a resource.