# Bug Report ## Problem https://github.com/apache/cordova-plugin-file#create-a-persistent-file- `LocalFileSystem.PERSISTENT` does not exists. It should be `window.PERSISTENT`, as confirmed by a support ticket https://github.com/apache/cordova-plugin-file/issues/369 The documentation should be updated to `window.PERSISTENT`. Note that, the `window` namespace is also used in [create temporary file example](https://github.com/apache/cordova-plugin-file#create-a-temporary-file) ### Command or Code <!-- What command or code is needed to reproduce the problem? --> `LocalFileSystem.PERSISTENT` ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> All platforms ### Version information cordova-plugin-file 6.0.3-dev - not sure when the documentation was written however. ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [x] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above