/// <summary>
            /// Create a scene from the uploaded files.
            /// </summary>
            /// <returns></returns>
            /// <exception cref="NotSupportedException">Unsupported 3D file format</exception>
            public Scene LoadScene()
            {
                if (SourceFormat == null)
                {
                    throw new NotSupportedException("Unsupported 3D file format");
                }
                var loadOpt = sourceFormat.CreateLoadOptions();

                loadOpt.FileSystem = CreateFileSystem();
                var   id    = statsService.BeforeOpenSession(app, fileNames.Id);
                Scene scene = new Scene();

                scene.Open(fileNames.GetFileName(SourceFile, mainFile), loadOpt);
                statsService.AfterLoadScene(id);
                return(scene);
            }