# Tutorial "Writing a file with UXP" file picker not loading

**URL:** <https://forums.creativeclouddeveloper.com/t/tutorial-writing-a-file-with-uxp-file-picker-not-loading/7840>\
**Category:** UXP Plugin API\
**Tags:** uxp, javascript\
**Created:** [May 1, 2024, 5:17pm UTC](https://forums.creativeclouddeveloper.com/t/tutorial-writing-a-file-with-uxp-file-picker-not-loading/7840 "2024-05-01T17:17:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rip](https://avatars.discourse-cdn.com/v4/letter/r/e99b99/32.png) [@Rip](https://forums.creativeclouddeveloper.com/u/Rip)\
**Post date:** [May 1, 2024, 5:17pm UTC](https://forums.creativeclouddeveloper.com/t/tutorial-writing-a-file-with-uxp-file-picker-not-loading/7840/1 "2024-05-01T17:17:09Z")

</div>

I’m just getting started with UXP for Photoshop, and I’m going through the tutorials.

The javascript in this tutorial:

> **[Writing a file with UXP](https://developer.adobe.com/photoshop/uxp/2022/guides/getting-started/writing-a-file/)**
>
> Interact with the file system and other operating system operations using the UXP APIs in your Photoshop plugin

stops execution at this line without loading the file picker:  
const file = await storage.localFileSystem.getFileForSaving(“layers.tsv”);

storage is defined here:  
const storage = window.require(“uxp”).storage;

What am I missing?

Thanks!

---

<div class="post-metadata">

**Author:** ![Rip](https://avatars.discourse-cdn.com/v4/letter/r/e99b99/32.png) [@Rip](https://forums.creativeclouddeveloper.com/u/Rip)\
**Post date:** [May 2, 2024, 1:42am UTC](https://forums.creativeclouddeveloper.com/t/tutorial-writing-a-file-with-uxp-file-picker-not-loading/7840/2 "2024-05-02T01:42:41Z")

</div>

It turns out the tutorial fails to mention that the code provided in the tutorial requires these lines in the manifest.json file:  
“requiredPermissions”: {  
“clipboard”: “readAndWrite”,  
“localFileSystem”: “fullAccess”  
},

The template included with Adobe UXP Developer Tools and recommended by the tutorial also fails to include these lines.

And this requirement is not mentioned in the documents that define the require(‘uxp’).storage.localFileSystem methods here:  
[https://developer.adobe.com/photoshop/uxp/2022/uxp-api/reference-js/Modules/uxp/Persistent%20File%20Storage/FileSystemProvider/](https://developer.adobe.com/photoshop/uxp/2022/uxp-api/reference-js/Modules/uxp/Persistent%20File%20Storage/FileSystemProvider/)
