# Real Local Files

**URL:** <https://forum.dfinity.org/t/real-local-files/20674>\
**Category:** Motoko\
**Created:** [June 13, 2023, 4:25pm UTC](https://forum.dfinity.org/t/real-local-files/20674 "2023-06-13T16:25:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![valroxs](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/valroxs/32/11014_2.png) [@valroxs](https://forum.dfinity.org/u/valroxs)\
**Post date:** [June 13, 2023, 4:25pm UTC](https://forum.dfinity.org/t/real-local-files/20674/1 "2023-06-13T16:25:05Z")

</div>

Hi community,

Is there a way in motoko to read files through a given path?  
More specifically I want to save a .wasm file (as a blob) into a variable through a given file path in my program without getting it from the frontend or other ways.  
Is something like this possible?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![claudio](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/claudio/32/322_2.png) [@claudio](https://forum.dfinity.org/u/claudio)\
**Post date:** [June 19, 2023, 10:33am UTC](https://forum.dfinity.org/t/real-local-files/20674/2 "2023-06-19T10:33:03Z")

</div>

Not easily, no.

Your best bet would be to write a script that produces a Motoko file with a Blob literal containing the content of the wasm file.
