API Reference > imodeljs-backend > iModels > IModelDb > findByFilename findByFilename MethodStatic Find an opened instance of any subclass of IModelDb, by filename findByFilename(fileName: string): undefined | IModelDb note this method returns an IModelDb if the filename is open for any subclass of IModelDb Parameter Type Description fileName string Returns - undefined | IModelDb Defined in core/backend/src/IModelDb.ts Line 837 Last Updated: 12 June, 2024