Cannot find module '@ionic-native/file' in ionic 4

I added plugin via cli.
i imported the plugin in app.module.ts ( import { File } from ‘@ionic-native/file’; )
i also added it in the providers.
but its still showing the same error…

Look carefully at the import path in the docs. You’re missing an /ngx at the end.

Works with ngx.
@devrick : And make that you have installed cordova file plugin as well