# Refactoring nlu.md and domain.yml

**URL:** <https://forum.rasa.com/t/refactoring-nlu-md-and-domain-yml/29411>\
**Category:** Rasa Open Source\
**Created:** [May 27, 2020, 11:46pm UTC](https://forum.rasa.com/t/refactoring-nlu-md-and-domain-yml/29411 "2020-05-27T23:46:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AniketBajpai](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@AniketBajpai](https://forum.rasa.com/u/AniketBajpai)\
**Post date:** [May 27, 2020, 11:46pm UTC](https://forum.rasa.com/t/refactoring-nlu-md-and-domain-yml/29411/1 "2020-05-27T23:46:27Z")

</div>

After adding a lot of functionality to our bot, our nlu.md and domain.yml files have grown to more than 1000 lines and have become very difficult to maintain. Is there a way to split these files into several smaller files?

Any help would be appreciated. Thanks!

---

<div class="post-metadata">

**Author:** ![ScienceGuy](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@ScienceGuy](https://forum.rasa.com/u/ScienceGuy)\
**Post date:** [September 18, 2020, 1:59pm UTC](https://forum.rasa.com/t/refactoring-nlu-md-and-domain-yml/29411/2 "2020-09-18T13:59:30Z")

</div>

I would back this request while you can already create a folder structure to manage nlu and core data, something similar seems to be missing for domains (at least something that Rasa-X supports as well).

data folder \> [nlu \> your nlu.md files, core \> your stories.md files]
