async loadIfc(file, fitToFrame = false, onError) {
            const url = URL.createObjectURL(file);
            return this.loadIfcUrl(url, fitToFrame, undefined, onError);
        }
Loads the given IFC in the current scene.
@file IFC as File.
@fitToFrame (optional) if true, brings the perspectiveCamera to the loaded IFC.
@onError (optional) a callback function to report on loading errors