Native file

hello I’m trying to work on my project so i wrote the required commands, which are:
ionic cordova plugin add cordova-plugin-file
npm install @ionic-native/file --save
but they arent working especially the second one.
BTW im using ionic 7