# Need to include one file multiple times, how to avoid warning

**URL:** <https://discourse.julialang.org/t/need-to-include-one-file-multiple-times-how-to-avoid-warning/27439>\
**Category:** General Usage\
**Tags:** question\
**Created:** [August 12, 2019, 1:55am UTC](https://discourse.julialang.org/t/need-to-include-one-file-multiple-times-how-to-avoid-warning/27439 "2019-08-12T01:55:44Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [August 12, 2019, 1:06pm UTC](https://discourse.julialang.org/t/need-to-include-one-file-multiple-times-how-to-avoid-warning/27439/14 "2019-08-12T13:06:36Z")

</div>

> When the project is large, there are too many warnings as follows.

Yes, these warnings are important, and they are trying to tell you that by calling `include()` on the same file multiple times you are re-defining the same function over and over, which is at best wasteful and at worst can lead to problems like [Trouble importing a module that depends on another globally imported module](https://discourse.julialang.org/t/trouble-importing-a-module-that-depends-on-another-globally-imported-module/26482)

---

_[View the full topic](https://discourse.julialang.org/t/need-to-include-one-file-multiple-times-how-to-avoid-warning/27439)._
