# Multiple files in GameZero

**URL:** <https://discourse.julialang.org/t/multiple-files-in-gamezero/106109>\
**Category:** General Usage\
**Tags:** question\
**Created:** [November 12, 2023, 9:25am UTC](https://discourse.julialang.org/t/multiple-files-in-gamezero/106109 "2023-11-12T09:25:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CallError](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/callerror/32/202800_2.png) [@CallError](https://discourse.julialang.org/u/CallError)\
**Post date:** [November 12, 2023, 9:25am UTC](https://discourse.julialang.org/t/multiple-files-in-gamezero/106109/1 "2023-11-12T09:25:14Z")

</div>

My game project is becoming bigger, so I got to split it different files. But as soon as I use the `rungame("filename.fl")` command, I am getting an error message for the usage of `include`.  
Is there a way to work with multiple files in GameZero?

---

<div class="post-metadata">

**Author:** ![mrufsvold](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mrufsvold/32/31600_2.png) [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Post date:** [November 12, 2023, 1:25pm UTC](https://discourse.julialang.org/t/multiple-files-in-gamezero/106109/2 "2023-11-12T13:25:33Z")

</div>

What error are you getting? It’s been a long time since I used GameZero, but remember include working.

---

<div class="post-metadata">

**Author:** ![CallError](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/callerror/32/202800_2.png) [@CallError](https://discourse.julialang.org/u/CallError)\
**Post date:** [November 12, 2023, 1:42pm UTC](https://discourse.julialang.org/t/multiple-files-in-gamezero/106109/3 "2023-11-12T13:42:53Z")

</div>

`ERROR: LoadError: UndefVarError: `include` not defined Stacktrace:`

If I run `include("filename.jl")` in the REPL normally, it works perfectly. But when I run it via `rungame`, I get this error message.
